X509_AUTHORITY_KEY_ID2

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

Object Identifier String

"2.5.29.35"

Corresponding Data Structure being encoded or decoded

pvStructInfo points to a CERT_AUTHORITY_KEY_ID2_INFO structure.

Additional Details

For CRYPT_E_INVALID_IA5_STRING, the error location is returned in *pcbEncoded by CryptEncodeObject CryptEncodeObjectEx (X509_AUTHORITY_KEY_ID2).

See X509_ALTERNATE_NAME for error location definition.