wolf SSL / wolfSSL-TLS13-Beta

Fork of wolfSSL by wolf SSL

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ocsp.h Source File

ocsp.h

00001 /* ocsp.h for libcurl */
00002 
00003 #ifndef WOLFSSL_OCSP_H_
00004 #define WOLFSSL_OCSP_H_
00005 
00006 #ifdef HAVE_OCSP
00007 #include <wolfssl/ocsp.h>
00008 
00009 #define OCSP_REQUEST              OcspRequest
00010 #define OCSP_RESPONSE             OcspResponse
00011 #define OCSP_BASICRESP            WOLFSSL_OCSP_BASICRESP
00012 #define OCSP_CERTID               WOLFSSL_OCSP_CERTID
00013 #define OCSP_ONEREQ               WOLFSSL_OCSP_ONEREQ
00014 
00015 #define OCSP_RESPONSE_STATUS_SUCCESSFUL  0
00016 #define V_OCSP_CERTSTATUS_GOOD           0
00017 
00018 #define OCSP_resp_find_status     wolfSSL_OCSP_resp_find_status
00019 #define OCSP_cert_status_str      wolfSSL_OCSP_cert_status_str
00020 #define OCSP_check_validity       wolfSSL_OCSP_check_validity
00021 
00022 #define OCSP_CERTID_free          wolfSSL_OCSP_CERTID_free
00023 #define OCSP_cert_to_id           wolfSSL_OCSP_cert_to_id
00024 
00025 #define OCSP_BASICRESP_free       wolfSSL_OCSP_BASICRESP_free
00026 #define OCSP_basic_verify         wolfSSL_OCSP_basic_verify
00027 
00028 #define OCSP_RESPONSE_free        wolfSSL_OCSP_RESPONSE_free
00029 #define d2i_OCSP_RESPONSE_bio     wolfSSL_d2i_OCSP_RESPONSE_bio
00030 #define d2i_OCSP_RESPONSE         wolfSSL_d2i_OCSP_RESPONSE
00031 #define i2d_OCSP_RESPONSE         wolfSSL_i2d_OCSP_RESPONSE
00032 #define OCSP_response_status      wolfSSL_OCSP_response_status
00033 #define OCSP_response_status_str  wolfSSL_OCSP_response_status_str
00034 #define OCSP_response_get1_basic  wolfSSL_OCSP_response_get1_basic
00035 
00036 #define OCSP_REQUEST_new          wolfSSL_OCSP_REQUEST_new
00037 #define OCSP_REQUEST_free         wolfSSL_OCSP_REQUEST_free
00038 #define i2d_OCSP_REQUEST          wolfSSL_i2d_OCSP_REQUEST
00039 #define OCSP_request_add0_id      wolfSSL_OCSP_request_add0_id
00040 
00041 #endif /* HAVE_OCSP */
00042 
00043 #endif /* WOLFSSL_OCSP_H_ */
00044 
00045