X509_KEY_USAGE

When X509_KEY_USAGE or szOID_KEY_USAGE are used for the lpszStructType with CryptEncodeObject, CryptEncodeObjectEx, CryptDecodeObject, or CryptDecodeObjectEx the following details apply.

Object Identifier String

"2.5.29.15"

Corresponding Data Structure being encoded or decoded

pvStructInfo points to a CRYPT_BIT_BLOB.

Additional Details

It has the same bit definitions as CERT_KEY_ATTRIBUTES_INFO's IntendedKeyUsage member.