40#if defined(OPENSSL_ALL) || defined(OPENSSL_EXTRA) || defined(WOLFSSL_NGINX) ||\
41 defined(WOLFSSL_HAPROXY)
60WOLFSSL_LOCAL
int CheckOcspResponse(
WOLFSSL_OCSP *ocsp,
byte *response,
int responseSz,
64#if defined(OPENSSL_ALL) || defined(WOLFSSL_NGINX) || defined(WOLFSSL_HAPROXY) || \
65 defined(WOLFSSL_APACHE_HTTPD)
67 WOLFSSL_API
int wolfSSL_OCSP_resp_find_status(WOLFSSL_OCSP_BASICRESP *bs,
68 WOLFSSL_OCSP_CERTID *
id,
int *status,
int *reason,
71WOLFSSL_API
const char *wolfSSL_OCSP_cert_status_str(
long s);
75WOLFSSL_API
void wolfSSL_OCSP_CERTID_free(WOLFSSL_OCSP_CERTID* certId);
76WOLFSSL_API WOLFSSL_OCSP_CERTID* wolfSSL_OCSP_cert_to_id(
80WOLFSSL_API
void wolfSSL_OCSP_BASICRESP_free(WOLFSSL_OCSP_BASICRESP* basicResponse);
81WOLFSSL_API
int wolfSSL_OCSP_basic_verify(WOLFSSL_OCSP_BASICRESP *bs,
84WOLFSSL_API
void wolfSSL_OCSP_RESPONSE_free(
OcspResponse* response);
88 const unsigned char** data,
int len);
89WOLFSSL_API
int wolfSSL_i2d_OCSP_RESPONSE(
OcspResponse* response,
90 unsigned char** data);
91WOLFSSL_API
int wolfSSL_OCSP_response_status(
OcspResponse *response);
92WOLFSSL_API
const char *wolfSSL_OCSP_response_status_str(
long s);
93WOLFSSL_API WOLFSSL_OCSP_BASICRESP* wolfSSL_OCSP_response_get1_basic(
96WOLFSSL_API
OcspRequest* wolfSSL_OCSP_REQUEST_new(
void);
97WOLFSSL_API
void wolfSSL_OCSP_REQUEST_free(
OcspRequest* request);
98WOLFSSL_API
int wolfSSL_i2d_OCSP_REQUEST(
OcspRequest* request,
99 unsigned char** data);
100WOLFSSL_API WOLFSSL_OCSP_ONEREQ* wolfSSL_OCSP_request_add0_id(
OcspRequest *req,
101 WOLFSSL_OCSP_CERTID *cid);
102WOLFSSL_API WOLFSSL_OCSP_CERTID* wolfSSL_OCSP_CERTID_dup(WOLFSSL_OCSP_CERTID*);
103WOLFSSL_API
int wolfSSL_i2d_OCSP_REQUEST_bio(
WOLFSSL_BIO* out,
104 WOLFSSL_OCSP_REQUEST *req);
108WOLFSSL_API
int wolfSSL_OCSP_REQUEST_add_ext(
OcspRequest* req,
110WOLFSSL_API
OcspResponse* wolfSSL_OCSP_response_create(
int status,
111 WOLFSSL_OCSP_BASICRESP* bs);
112WOLFSSL_API
const char* wolfSSL_OCSP_crl_reason_str(
long s);
118WOLFSSL_API
int wolfSSL_OCSP_request_add1_nonce(
OcspRequest* req,
119 unsigned char* val,
int sz);
120WOLFSSL_API
int wolfSSL_OCSP_check_nonce(
OcspRequest* req,
121 WOLFSSL_OCSP_BASICRESP* bs);
WOLFSSL_API WOLF_STACK_OF(WOLFSSL_X509) *wolfSSL_get_peer_cert_chain(const WOLFSSL *)
This function gets the peer’s certificate chain.
Definition ssl.c:16984
Definition asn_public.h:213
Definition asn_public.h:178
Definition internal.h:1958
Definition internal.h:1857
Definition internal.h:3598
Definition internal.h:3849
Header file containing key wolfSSL API.