X509_KEY_ATTRIBUTES

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

Object Identifier String

"2.5.29.2"

Corresponding Data Structure being encoded or decoded

pvStructInfo points to a CERT_KEY_ATTRIBUTES_INFO structure.