[#OCSP_cert_to_id] = OCSP_cert_to_id :mrdocs: Build an OCSP CertID from a subject certificate and its issuer. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:OCSP_CERTID.adoc[OCSP_CERTID]* OCSP_cert_to_id( xref:EVP_MD.adoc[EVP_MD] const* dgst, xref:X509.adoc[X509] const* subject, xref:X509.adoc[X509] const* issuer); ---- == Return Value New OCSP_CERTID, or NULL on error; free with OCSP_CERTID_free(). == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#