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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file easyx509deserialization-0.9.2.tar.gz
.
File metadata
- Download URL: easyx509deserialization-0.9.2.tar.gz
- Upload date:
- Size: 70.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aa732172aa6f7d52977b229a9bf85d9fbc623829e886a16bb1c6db54447117d |
|
MD5 | fe8dd5119af8f700c2f6664714b7125a |
|
BLAKE2b-256 | 9f37d421eadb939ed80163f20b8d7fd26539ee2008d0fd3743a005847b93921a |
File details
Details for the file easyx509deserialization-0.9.2-py3-none-any.whl
.
File metadata
- Download URL: easyx509deserialization-0.9.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f9f532e1377baa79b792f9668d838890a0d16eda634450d46243b89bfb333a7 |
|
MD5 | ddbd0738d5a9c0e11d4b13b7f9515526 |
|
BLAKE2b-256 | 7893c730c7e3922cee0a5b755b61045439e0fac3cf815d4a841918b353fc5e02 |