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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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