X509_KEY_USAGE_RESTRICTION

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

Object Identifier String

"2.5.29.4"

Corresponding Data Structure being encoded or decoded

pvStructInfo points to a CERT_KEY_USAGE_RESTRICTION_INFO structure. See it for additional details.