[#OCSP_resp_get1_id] = OCSP_resp_get1_id :mrdocs: Return a copy of the ResponderID from a basic OCSP response. == Synopsis Declared in `<openssl/ocsp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OCSP_resp_get1_id( xref:OCSP_BASICRESP.adoc[OCSP_BASICRESP] const* bs, xref:ASN1_OCTET_STRING.adoc[ASN1_OCTET_STRING]** pid, xref:X509_NAME.adoc[X509_NAME]** pname); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *bs* | Basic OCSP response to query. | *pid* | Receives a new OCTET STRING copy when the ID is byKey; otherwise set to NULL. | *pname* | Receives a new X509_NAME copy when the ID is byName; otherwise set to NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#