X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=doc%2Fcrypto%2FOCSP_resp_find_status.pod;h=b94896592b15da0fc4ef221c4cd59145202c23bd;hp=a852eaa8fbd8031666aefe300655e551169d4ea1;hb=02fb7cfeb2467a9644fd97da2c2788d9d270eb00;hpb=c952780c25f67d0645ef5e57a8ac7dae6ce2d586 diff --git a/doc/crypto/OCSP_resp_find_status.pod b/doc/crypto/OCSP_resp_find_status.pod index a852eaa8fb..b94896592b 100644 --- a/doc/crypto/OCSP_resp_find_status.pod +++ b/doc/crypto/OCSP_resp_find_status.pod @@ -27,6 +27,12 @@ OCSP_single_get0_status, OCSP_check_validity ASN1_GENERALIZEDTIME *OCSP_resp_get0_produced_at(OCSP_BASICRESP* single); + const STACK_OF(X509) *OCSP_resp_get0_certs(const OCSP_BASICRESP *bs); + + int OCSP_resp_get0_id(const OCSP_BASICRESP *bs, + const ASN1_OCTET_STRING **pid, + const X509_NAME **pname); + int OCSP_check_validity(ASN1_GENERALIZEDTIME *thisupd, ASN1_GENERALIZEDTIME *nextupd, long sec, long maxsec); @@ -61,6 +67,13 @@ B<*revtime>, B<*thisupd> and B<*nextupd>. OCSP_resp_get0_produced_at() extracts the B field from the single response B. +OCSP_resp_get0_certs() returns any certificates included in B. + +OCSP_resp_get0_id() gets the responder id of . If the responder ID is +a name then <*pname> is set to the name and B<*pid> is set to NULL. If the +responder ID is by key ID then B<*pid> is set to the key ID and B<*pname> +is set to NULL. + OCSP_check_validity() checks the validity of B and B values which will be typically obtained from OCSP_resp_find_status() or OCSP_single_get0_status(). If B is non-zero it indicates how many seconds