26 #ifndef WOLFSSL_OCSP_H 27 #define WOLFSSL_OCSP_H 40 #if defined(OPENSSL_ALL) || defined(OPENSSL_EXTRA) || defined(WOLFSSL_NGINX) ||\ 41 defined(WOLFSSL_HAPROXY) 60 WOLFSSL_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) 71 WOLFSSL_API
const char *wolfSSL_OCSP_cert_status_str(
long s);
84 WOLFSSL_API
void wolfSSL_OCSP_RESPONSE_free(
OcspResponse* response);
88 const unsigned char** data,
int len);
89 WOLFSSL_API
int wolfSSL_i2d_OCSP_RESPONSE(
OcspResponse* response,
90 unsigned char** data);
91 WOLFSSL_API
int wolfSSL_OCSP_response_status(
OcspResponse *response);
92 WOLFSSL_API
const char *wolfSSL_OCSP_response_status_str(
long s);
96 WOLFSSL_API
OcspRequest* wolfSSL_OCSP_REQUEST_new(
void);
97 WOLFSSL_API
void wolfSSL_OCSP_REQUEST_free(
OcspRequest* request);
98 WOLFSSL_API
int wolfSSL_i2d_OCSP_REQUEST(
OcspRequest* request,
99 unsigned char** data);
103 WOLFSSL_API
int wolfSSL_i2d_OCSP_REQUEST_bio(
WOLFSSL_BIO* out,
108 WOLFSSL_API
int wolfSSL_OCSP_REQUEST_add_ext(
OcspRequest* req,
110 WOLFSSL_API
OcspResponse* wolfSSL_OCSP_response_create(
int status,
112 WOLFSSL_API
const char* wolfSSL_OCSP_crl_reason_str(
long s);
118 WOLFSSL_API
int wolfSSL_OCSP_request_add1_nonce(
OcspRequest* req,
119 unsigned char* val,
int sz);
120 WOLFSSL_API
int wolfSSL_OCSP_check_nonce(
OcspRequest* req,
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
Header file containing key wolfSSL API.
Definition: internal.h:3598
Definition: asn_public.h:178
Definition: internal.h:1857
Definition: internal.h:1958
Definition: internal.h:3849
Definition: asn_public.h:213