X509_ENUMERATED

When X509_ENUMERATED is used for the lpszStructType with CryptEncodeObject, CryptEncodeObjectEx, CryptDecodeObject, or CryptDecodeObjectEx the following details apply.

Object Identifier String

N/A

Corresponding Data Structure being encoded or decoded

pvStructInfo points to an integer containing the enumerated value.

Additional Details

Used when encoding any arbitrary enumeration. One example of usage is with the X509_CRL_REASON_CODE.