X509_AUTHORITY_INFO_ACCESS

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

Object Identifier String

"1.3.6.1.5.5.7.1.1"

Corresponding Data Structure being encoded or decoded

pvStructInfo points to a CERT_AUTHORITY_INFO_ACCESS structure. See it for additional details.

Additional Details

For CRYPT_E_INVALID_IA5_STRING, the error location is returned in *pcbEncoded by CryptEncodeObject(X509_AUTHORITY_INFO_ACCESS)

Error location consists of:

ENTRY_INDEX - 8 bits << 16

VALUE_INDEX - 16 bits (unicode character index)

See X509_ALTERNATE_NAME for ENTRY_INDEX and VALUE_INDEX error location definition.