PyCERT_EXTENSION Object

Dict containing a certificate extension

Properties

str ObjId
The OID identifying the type of extension

boolean Critical
If true, any contraints or limits contained in the extension should be considered absolute

str Value
Binary string containing ASN encoded data. To interpret or display extension data, see cryptoapi::CryptDecodeObjectEx and cryptoapi::CryptFormatObject .

Comments

These extensions are not yet handled by CryptDecodeObjectEx, but can be formatted with CryptFormatObject.
szOID_PRIVATEKEY_USAGE_PERIOD -- ???? CERT_PRIVATE_KEY_VALIDITY ????
szOID_KEY_USAGE_RESTRICTION - CERT_KEY_USAGE_RESTRICTION_INFO