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)
Release files for easyx509deserialization 0.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| easyx509deserialization-0.9.2.tar.gz | 70.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| easyx509deserialization-0.9.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 75.8 kB
Release files / easyx509deserialization-0.9.2.tar.gz
| Download URL | easyx509deserialization-0.9.2.tar.gz |
|---|---|
| Size | 70.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8aa732172aa6f7d52977b229a9bf85d9fbc623829e886a16bb1c6db54447117d
|
|
BLAKE2b-256 checksum How to use checksums |
9f37d421eadb939ed80163f20b8d7fd26539ee2008d0fd3743a005847b93921a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / easyx509deserialization-0.9.2-py3-none-any.whl
| Download URL | easyx509deserialization-0.9.2-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f9f532e1377baa79b792f9668d838890a0d16eda634450d46243b89bfb333a7
|
|
BLAKE2b-256 checksum How to use checksums |
7893c730c7e3922cee0a5b755b61045439e0fac3cf815d4a841918b353fc5e02
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|