win32crypt.CryptEncodeObjectEx
str = CryptEncodeObjectEx(StructType, StructInfo , Flags , CertEncodingType , EncodePara )
Serializes and ASN encodes cryptographic structures
Parameters
StructType | Type of input |
szOID_ENHANCED_KEY_USAGE | PyCTL_USAGE (sequence of OID's) |
X509_ENHANCED_KEY_USAGE | PyCTL_USAGE (sequence of OID's) |
szOID_KEY_USAGE | PyCRYPT_BIT_BLOB |
X509_KEY_USAGE | PyCRYPT_BIT_BLOB |
X509_BITS | PyCRYPT_BIT_BLOB |