[337] | 1 | /* ocsp.h for libcurl */
|
---|
| 2 |
|
---|
| 3 | #ifndef WOLFSSL_OCSP_H_
|
---|
| 4 | #define WOLFSSL_OCSP_H_
|
---|
| 5 |
|
---|
| 6 | #ifdef HAVE_OCSP
|
---|
| 7 | #include <wolfssl/ocsp.h>
|
---|
| 8 |
|
---|
| 9 | #define OCSP_REQUEST OcspRequest
|
---|
| 10 | #define OCSP_RESPONSE OcspResponse
|
---|
| 11 | #define OCSP_BASICRESP WOLFSSL_OCSP_BASICRESP
|
---|
| 12 | #define OCSP_CERTID WOLFSSL_OCSP_CERTID
|
---|
| 13 | #define OCSP_ONEREQ WOLFSSL_OCSP_ONEREQ
|
---|
| 14 |
|
---|
| 15 | #define OCSP_RESPONSE_STATUS_SUCCESSFUL 0
|
---|
| 16 | #define V_OCSP_CERTSTATUS_GOOD 0
|
---|
| 17 |
|
---|
| 18 | #define OCSP_resp_find_status wolfSSL_OCSP_resp_find_status
|
---|
| 19 | #define OCSP_cert_status_str wolfSSL_OCSP_cert_status_str
|
---|
| 20 | #define OCSP_check_validity wolfSSL_OCSP_check_validity
|
---|
| 21 |
|
---|
| 22 | #define OCSP_CERTID_free wolfSSL_OCSP_CERTID_free
|
---|
| 23 | #define OCSP_cert_to_id wolfSSL_OCSP_cert_to_id
|
---|
| 24 |
|
---|
| 25 | #define OCSP_BASICRESP_free wolfSSL_OCSP_BASICRESP_free
|
---|
| 26 | #define OCSP_basic_verify wolfSSL_OCSP_basic_verify
|
---|
| 27 |
|
---|
| 28 | #define OCSP_RESPONSE_free wolfSSL_OCSP_RESPONSE_free
|
---|
| 29 | #define d2i_OCSP_RESPONSE_bio wolfSSL_d2i_OCSP_RESPONSE_bio
|
---|
| 30 | #define d2i_OCSP_RESPONSE wolfSSL_d2i_OCSP_RESPONSE
|
---|
| 31 | #define i2d_OCSP_RESPONSE wolfSSL_i2d_OCSP_RESPONSE
|
---|
| 32 | #define OCSP_response_status wolfSSL_OCSP_response_status
|
---|
| 33 | #define OCSP_response_status_str wolfSSL_OCSP_response_status_str
|
---|
| 34 | #define OCSP_response_get1_basic wolfSSL_OCSP_response_get1_basic
|
---|
| 35 |
|
---|
| 36 | #define OCSP_REQUEST_new wolfSSL_OCSP_REQUEST_new
|
---|
| 37 | #define OCSP_REQUEST_free wolfSSL_OCSP_REQUEST_free
|
---|
| 38 | #define i2d_OCSP_REQUEST wolfSSL_i2d_OCSP_REQUEST
|
---|
| 39 | #define OCSP_request_add0_id wolfSSL_OCSP_request_add0_id
|
---|
| 40 |
|
---|
| 41 | #endif /* HAVE_OCSP */
|
---|
| 42 |
|
---|
| 43 | #endif /* WOLFSSL_OCSP_H_ */
|
---|
| 44 |
|
---|