pyopenssl
pyopenssl copied to clipboard
Add support for extracting contents of PKCS7
Currently, PKCS#7 support in pyOpenSSL appears to be limited to retrieving metadata for a subset of fields, e.g whether it is signed, enveloped, or etc. However, there is no support for extracting certificates and/or CRL's from PKCS#7 objects.
Mostly resolved in #367, at least for my purposes
Could you please tell me, in brief the capabilities you added? I would want to extend this.
That commit added support for extracting certificates, CRL's, and data from certain PKCS#7 objects. But, it was never merged into the main codebase.
Triaging: for certificate extraction, the correct APIs here are load_pem_pkcs7_certificates and load_der_pkcs7_certificates on cryptography.