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.
"2.5.29.35"
pvStructInfo points to a CERT_AUTHORITY_KEY_ID2_INFO structure.
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.