24 #ifndef WOLFSSL_OCSP_H_ 25 #define WOLFSSL_OCSP_H_ 28 #include <wolfssl/ocsp.h> 30 #define OCSP_REQUEST OcspRequest 31 #define OCSP_RESPONSE OcspResponse 32 #define OCSP_BASICRESP WOLFSSL_OCSP_BASICRESP 33 #define OCSP_CERTID WOLFSSL_OCSP_CERTID 34 #define OCSP_ONEREQ WOLFSSL_OCSP_ONEREQ 36 #define OCSP_REVOKED_STATUS_NOSTATUS -1 39 #define OCSP_RESPONSE_STATUS_SUCCESSFUL 0 40 #define OCSP_RESPONSE_STATUS_TRYLATER 3 42 #define V_OCSP_CERTSTATUS_GOOD 0 43 #define V_OCSP_CERTSTATUS_REVOKED 1 44 #define V_OCSP_CERTSTATUS_UNKNOWN 2 46 #define OCSP_resp_find_status wolfSSL_OCSP_resp_find_status 47 #define OCSP_cert_status_str wolfSSL_OCSP_cert_status_str 48 #define OCSP_check_validity wolfSSL_OCSP_check_validity 50 #define OCSP_CERTID_free wolfSSL_OCSP_CERTID_free 51 #define OCSP_cert_to_id wolfSSL_OCSP_cert_to_id 53 #define OCSP_BASICRESP_free wolfSSL_OCSP_BASICRESP_free 54 #define OCSP_basic_verify wolfSSL_OCSP_basic_verify 56 #define OCSP_RESPONSE_free wolfSSL_OCSP_RESPONSE_free 57 #define d2i_OCSP_RESPONSE_bio wolfSSL_d2i_OCSP_RESPONSE_bio 58 #define d2i_OCSP_RESPONSE wolfSSL_d2i_OCSP_RESPONSE 59 #define i2d_OCSP_RESPONSE wolfSSL_i2d_OCSP_RESPONSE 60 #define OCSP_response_status wolfSSL_OCSP_response_status 61 #define OCSP_response_status_str wolfSSL_OCSP_response_status_str 62 #define OCSP_response_get1_basic wolfSSL_OCSP_response_get1_basic 63 #define OCSP_response_create wolfSSL_OCSP_response_create 65 #define OCSP_REQUEST_new wolfSSL_OCSP_REQUEST_new 66 #define OCSP_REQUEST_free wolfSSL_OCSP_REQUEST_free 67 #define i2d_OCSP_REQUEST wolfSSL_i2d_OCSP_REQUEST 68 #define OCSP_request_add0_id wolfSSL_OCSP_request_add0_id 69 #define OCSP_request_add1_nonce wolfSSL_OCSP_request_add1_nonce 70 #define OCSP_check_nonce wolfSSL_OCSP_check_nonce 71 #define OCSP_id_get0_info wolfSSL_OCSP_id_get0_info 72 #define OCSP_crl_reason_str wolfSSL_OCSP_crl_reason_str 73 #define OCSP_REQUEST_add_ext wolfSSL_OCSP_REQUEST_add_ext 75 #define OCSP_CERTID_dup wolfSSL_OCSP_CERTID_dup 77 #define i2d_OCSP_REQUEST_bio wolfSSL_i2d_OCSP_REQUEST_bio