diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-07-13 15:20:15 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-07-13 15:41:58 +0200 |
commit | 02fb7cfeb2467a9644fd97da2c2788d9d270eb00 (patch) | |
tree | b9959e5c054cea66f5e238050b8817194ddeda8d /include | |
parent | Fix DH error-handling in tls_process_key_exchange. (diff) | |
download | openssl-02fb7cfeb2467a9644fd97da2c2788d9d270eb00.tar.xz openssl-02fb7cfeb2467a9644fd97da2c2788d9d270eb00.zip |
Add OCSP accessors.
RT#4605
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ocsp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/openssl/ocsp.h b/include/openssl/ocsp.h index 7ded75242e..c74495a0b2 100644 --- a/include/openssl/ocsp.h +++ b/include/openssl/ocsp.h @@ -213,6 +213,11 @@ ASN1_OCTET_STRING *OCSP_resp_get0_signature(OCSP_BASICRESP *bs); int OCSP_resp_count(OCSP_BASICRESP *bs); OCSP_SINGLERESP *OCSP_resp_get0(OCSP_BASICRESP *bs, int idx); ASN1_GENERALIZEDTIME *OCSP_resp_get0_produced_at(OCSP_BASICRESP* bs); +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_resp_find(OCSP_BASICRESP *bs, OCSP_CERTID *id, int last); int OCSP_single_get0_status(OCSP_SINGLERESP *single, int *reason, ASN1_GENERALIZEDTIME **revtime, |