Return internal pointers to the ResponderID fields of a basic OCSP response.

Synopsis

Declared in <openssl/ocsp.h>

int
OCSP_resp_get0_id(
    OCSP_BASICRESP const* bs,
    ASN1_OCTET_STRING const** pid,
    X509_NAME const** pname);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

bs

Basic OCSP response to query.

pid

Receives the byKey OCTET STRING when that form is used; otherwise set to NULL.

pname

Receives the byName X509_NAME when that form is used; otherwise set to NULL.

Created with MrDocs