ISL_STATUS ISL_FindCertificateAttribute (ISL_VERIFIED_CERTIFICATE_PTR Cert, ISL_CONST_DATA Name, ISL_CONST_DATA_PTR Value)
This function returns the value associated with the certificate attribute specified by Name. The value and its length are returned in the Value pointer. The function returns ISL_FAIL if the specified attribute does not exist.
- Cert (input)
A reference to a certificate returned by the ISL_CopyCertificateChain function.
- Name (input)
The name of the attribute that is requested. The name representation must be consistent with the certificate representation. For example, for X.509V3 certificates, an attribute name is represented as a DER-encoded object identifier.
- Value (input/output)
The address and length are updated to refer to the attribute value within the verified certificate.
ISL_OK is returned if the specified certificate attribute is found, or ISL_FAIL if the attribute is not found.