wolfSSL SSL/TLS library, support up to TLS1.3
Embed:
(wiki syntax)
Show/hide line numbers
ocsp.h
00001 /* ocsp.h 00002 * 00003 * Copyright (C) 2006-2017 wolfSSL Inc. 00004 * 00005 * This file is part of wolfSSL. 00006 * 00007 * wolfSSL is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 2 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * wolfSSL is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA 00020 */ 00021 00022 /* ocsp.h for libcurl */ 00023 00024 #ifndef WOLFSSL_OCSP_H_ 00025 #define WOLFSSL_OCSP_H_ 00026 00027 #ifdef HAVE_OCSP 00028 #include <wolfssl/ocsp.h> 00029 00030 #define OCSP_REQUEST OcspRequest 00031 #define OCSP_RESPONSE OcspResponse 00032 #define OCSP_BASICRESP WOLFSSL_OCSP_BASICRESP 00033 #define OCSP_CERTID WOLFSSL_OCSP_CERTID 00034 #define OCSP_ONEREQ WOLFSSL_OCSP_ONEREQ 00035 00036 #define OCSP_RESPONSE_STATUS_SUCCESSFUL 0 00037 #define V_OCSP_CERTSTATUS_GOOD 0 00038 00039 #define OCSP_resp_find_status wolfSSL_OCSP_resp_find_status 00040 #define OCSP_cert_status_str wolfSSL_OCSP_cert_status_str 00041 #define OCSP_check_validity wolfSSL_OCSP_check_validity 00042 00043 #define OCSP_CERTID_free wolfSSL_OCSP_CERTID_free 00044 #define OCSP_cert_to_id wolfSSL_OCSP_cert_to_id 00045 00046 #define OCSP_BASICRESP_free wolfSSL_OCSP_BASICRESP_free 00047 #define OCSP_basic_verify wolfSSL_OCSP_basic_verify 00048 00049 #define OCSP_RESPONSE_free wolfSSL_OCSP_RESPONSE_free 00050 #define d2i_OCSP_RESPONSE_bio wolfSSL_d2i_OCSP_RESPONSE_bio 00051 #define d2i_OCSP_RESPONSE wolfSSL_d2i_OCSP_RESPONSE 00052 #define i2d_OCSP_RESPONSE wolfSSL_i2d_OCSP_RESPONSE 00053 #define OCSP_response_status wolfSSL_OCSP_response_status 00054 #define OCSP_response_status_str wolfSSL_OCSP_response_status_str 00055 #define OCSP_response_get1_basic wolfSSL_OCSP_response_get1_basic 00056 00057 #define OCSP_REQUEST_new wolfSSL_OCSP_REQUEST_new 00058 #define OCSP_REQUEST_free wolfSSL_OCSP_REQUEST_free 00059 #define i2d_OCSP_REQUEST wolfSSL_i2d_OCSP_REQUEST 00060 #define OCSP_request_add0_id wolfSSL_OCSP_request_add0_id 00061 00062 #endif /* HAVE_OCSP */ 00063 00064 #endif /* WOLFSSL_OCSP_H_ */ 00065 00066
Generated on Wed Jul 13 2022 01:38:42 by 1.7.2