X509_NAME

When X509_NAME 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 a CERT_NAME_INFO structure.

Additional Details

Used to decode/encode the Issuer and Subject members in a certificate (CERT_INFO structure).