Return borrowed pointers to the fields of an OCSP CertID.
Declared in <openssl/ocsp.h>
int
OCSP_id_get0_info(
ASN1_OCTET_STRING** piNameHash,
ASN1_OBJECT** pmd,
ASN1_OCTET_STRING** pikeyHash,
ASN1_INTEGER** pserial,
OCSP_CERTID* cid);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| piNameHash | Optional output for issuerNameHash; may be NULL. |
| pmd | Optional output for the hash AlgorithmIdentifier OID; may be NULL. |
| pikeyHash | Optional output for issuerKeyHash; may be NULL. |
| pserial | Optional output for the certificate serialNumber; may be NULL. |
| cid | CertID to query. |