[#OCSP_id_get0_info]
= OCSP&lowbar;id&lowbar;get0&lowbar;info
:mrdocs:

Return borrowed pointers to the fields of an OCSP CertID&period;

== Synopsis

Declared in `&lt;openssl&sol;ocsp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OCSP&lowbar;id&lowbar;get0&lowbar;info(
    xref:ASN1_OCTET_STRING.adoc[ASN1&lowbar;OCTET&lowbar;STRING]** piNameHash,
    xref:ASN1_OBJECT.adoc[ASN1&lowbar;OBJECT]** pmd,
    xref:ASN1_OCTET_STRING.adoc[ASN1&lowbar;OCTET&lowbar;STRING]** pikeyHash,
    xref:ASN1_INTEGER.adoc[ASN1&lowbar;INTEGER]** pserial,
    xref:OCSP_CERTID.adoc[OCSP&lowbar;CERTID]* cid);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *piNameHash*
| Optional output for issuerNameHash&semi; may be NULL&period;
| *pmd*
| Optional output for the hash AlgorithmIdentifier OID&semi; may be NULL&period;
| *pikeyHash*
| Optional output for issuerKeyHash&semi; may be NULL&period;
| *pserial*
| Optional output for the certificate serialNumber&semi; may be NULL&period;
| *cid*
| CertID to query&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
