Skip to main content

A front end to the cryptography package to easily extract information from an x509 certificate

Project description

This is a front end to the cryptography module x509 read functions. It will allow you to quickly pull most information from an x509 certificate. All of the read functions will take one parameter that can be either a base 64 string, (a .cer file) a binary object (a .der file) or a cryptography x509 certificate.

Usage: from easyx509deserialization import read_certificate
certificate_file = "duckduckgo-com.pem"
f = open(certificate_file, "r")
certificate_text = f.read()
f.close()
subject_name = read_certificate.get_subject_name(certificate_text)

Additionally, a p7b/p7c file can be passed in, and return a list of cryptography certificate objects.
certificate_list = read_certificate.get_certs_from_pkcs7(pkcs7_file.p7b)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easyx509deserialization-0.9.2.tar.gz (70.9 kB view details)

Uploaded Source

Built Distribution

easyx509deserialization-0.9.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file easyx509deserialization-0.9.2.tar.gz.

File metadata

File hashes

Hashes for easyx509deserialization-0.9.2.tar.gz
Algorithm Hash digest
SHA256 8aa732172aa6f7d52977b229a9bf85d9fbc623829e886a16bb1c6db54447117d
MD5 fe8dd5119af8f700c2f6664714b7125a
BLAKE2b-256 9f37d421eadb939ed80163f20b8d7fd26539ee2008d0fd3743a005847b93921a

See more details on using hashes here.

File details

Details for the file easyx509deserialization-0.9.2-py3-none-any.whl.

File metadata

File hashes

Hashes for easyx509deserialization-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3f9f532e1377baa79b792f9668d838890a0d16eda634450d46243b89bfb333a7
MD5 ddbd0738d5a9c0e11d4b13b7f9515526
BLAKE2b-256 7893c730c7e3922cee0a5b755b61045439e0fac3cf815d4a841918b353fc5e02

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page