PyCERT_CONTEXT.CertGetEnhancedKeyUsage

tuple = CertGetEnhancedKeyUsage(Flags)

Finds the enhanced key usage property and/or extension for the certificate

Parameters

Flags=0 : int

CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG, CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG, or 0

Return Value

Returns a sequence of usage OIDs