Statistics
| Branch: | Tag: | Revision:

root / test / data / cert1.pem @ 7578ab0a

History | View | Annotate | Download (814 Bytes)

# Date Author Comment
27e46076 03/12/2010 05:44 pm Michael Hanselmann

utils: Add function to extract X509 cert validity

X509 uses ASN1 GENERALIZEDTIME or UTCTIME to store certificate validity.
pyOpenSSL 0.7 and above allow us to retrieve both “notBefore” and
“notAfter” as strings. Parsing them turned out to be a challenge since...