Build an OCSP CertID from a subject certificate and its issuer.
Synopsis
Declared in <openssl/ocsp.h>
OCSP_CERTID*
OCSP_cert_to_id(
EVP_MD const* dgst,
X509 const* subject,
X509 const* issuer);
Return Value
New OCSP_CERTID, or NULL on error; free with OCSP_CERTID_free().
Parameters
Name |
Description |
dgst |
Digest used for name and key hashes, or NULL for SHA‐1. |
subject |
Certificate whose serial and issuer hashes identify the CertID. |
issuer |
Issuer certificate providing the issuer name and public key. |
Created with MrDocs