wolfSSL SSL/TLS library, support up to TLS1.3

Dependents:   OS

Committer:
sPymbed
Date:
Wed Nov 20 13:27:48 2019 +0000
Revision:
17:ff9d1e86ad5f
Parent:
15:117db924cf7c
removed: wolfcrypt

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wolfSSL 15:117db924cf7c 1 /* ocsp.h
wolfSSL 15:117db924cf7c 2 *
wolfSSL 15:117db924cf7c 3 * Copyright (C) 2006-2017 wolfSSL Inc.
wolfSSL 15:117db924cf7c 4 *
wolfSSL 15:117db924cf7c 5 * This file is part of wolfSSL.
wolfSSL 15:117db924cf7c 6 *
wolfSSL 15:117db924cf7c 7 * wolfSSL is free software; you can redistribute it and/or modify
wolfSSL 15:117db924cf7c 8 * it under the terms of the GNU General Public License as published by
wolfSSL 15:117db924cf7c 9 * the Free Software Foundation; either version 2 of the License, or
wolfSSL 15:117db924cf7c 10 * (at your option) any later version.
wolfSSL 15:117db924cf7c 11 *
wolfSSL 15:117db924cf7c 12 * wolfSSL is distributed in the hope that it will be useful,
wolfSSL 15:117db924cf7c 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
wolfSSL 15:117db924cf7c 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
wolfSSL 15:117db924cf7c 15 * GNU General Public License for more details.
wolfSSL 15:117db924cf7c 16 *
wolfSSL 15:117db924cf7c 17 * You should have received a copy of the GNU General Public License
wolfSSL 15:117db924cf7c 18 * along with this program; if not, write to the Free Software
wolfSSL 15:117db924cf7c 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
wolfSSL 15:117db924cf7c 20 */
wolfSSL 15:117db924cf7c 21
wolfSSL 15:117db924cf7c 22 /* ocsp.h for libcurl */
wolfSSL 15:117db924cf7c 23
wolfSSL 15:117db924cf7c 24 #ifndef WOLFSSL_OCSP_H_
wolfSSL 15:117db924cf7c 25 #define WOLFSSL_OCSP_H_
wolfSSL 15:117db924cf7c 26
wolfSSL 15:117db924cf7c 27 #ifdef HAVE_OCSP
wolfSSL 15:117db924cf7c 28 #include <wolfssl/ocsp.h>
wolfSSL 15:117db924cf7c 29
wolfSSL 15:117db924cf7c 30 #define OCSP_REQUEST OcspRequest
wolfSSL 15:117db924cf7c 31 #define OCSP_RESPONSE OcspResponse
wolfSSL 15:117db924cf7c 32 #define OCSP_BASICRESP WOLFSSL_OCSP_BASICRESP
wolfSSL 15:117db924cf7c 33 #define OCSP_CERTID WOLFSSL_OCSP_CERTID
wolfSSL 15:117db924cf7c 34 #define OCSP_ONEREQ WOLFSSL_OCSP_ONEREQ
wolfSSL 15:117db924cf7c 35
wolfSSL 15:117db924cf7c 36 #define OCSP_RESPONSE_STATUS_SUCCESSFUL 0
wolfSSL 15:117db924cf7c 37 #define V_OCSP_CERTSTATUS_GOOD 0
wolfSSL 15:117db924cf7c 38
wolfSSL 15:117db924cf7c 39 #define OCSP_resp_find_status wolfSSL_OCSP_resp_find_status
wolfSSL 15:117db924cf7c 40 #define OCSP_cert_status_str wolfSSL_OCSP_cert_status_str
wolfSSL 15:117db924cf7c 41 #define OCSP_check_validity wolfSSL_OCSP_check_validity
wolfSSL 15:117db924cf7c 42
wolfSSL 15:117db924cf7c 43 #define OCSP_CERTID_free wolfSSL_OCSP_CERTID_free
wolfSSL 15:117db924cf7c 44 #define OCSP_cert_to_id wolfSSL_OCSP_cert_to_id
wolfSSL 15:117db924cf7c 45
wolfSSL 15:117db924cf7c 46 #define OCSP_BASICRESP_free wolfSSL_OCSP_BASICRESP_free
wolfSSL 15:117db924cf7c 47 #define OCSP_basic_verify wolfSSL_OCSP_basic_verify
wolfSSL 15:117db924cf7c 48
wolfSSL 15:117db924cf7c 49 #define OCSP_RESPONSE_free wolfSSL_OCSP_RESPONSE_free
wolfSSL 15:117db924cf7c 50 #define d2i_OCSP_RESPONSE_bio wolfSSL_d2i_OCSP_RESPONSE_bio
wolfSSL 15:117db924cf7c 51 #define d2i_OCSP_RESPONSE wolfSSL_d2i_OCSP_RESPONSE
wolfSSL 15:117db924cf7c 52 #define i2d_OCSP_RESPONSE wolfSSL_i2d_OCSP_RESPONSE
wolfSSL 15:117db924cf7c 53 #define OCSP_response_status wolfSSL_OCSP_response_status
wolfSSL 15:117db924cf7c 54 #define OCSP_response_status_str wolfSSL_OCSP_response_status_str
wolfSSL 15:117db924cf7c 55 #define OCSP_response_get1_basic wolfSSL_OCSP_response_get1_basic
wolfSSL 15:117db924cf7c 56
wolfSSL 15:117db924cf7c 57 #define OCSP_REQUEST_new wolfSSL_OCSP_REQUEST_new
wolfSSL 15:117db924cf7c 58 #define OCSP_REQUEST_free wolfSSL_OCSP_REQUEST_free
wolfSSL 15:117db924cf7c 59 #define i2d_OCSP_REQUEST wolfSSL_i2d_OCSP_REQUEST
wolfSSL 15:117db924cf7c 60 #define OCSP_request_add0_id wolfSSL_OCSP_request_add0_id
wolfSSL 15:117db924cf7c 61
wolfSSL 15:117db924cf7c 62 #endif /* HAVE_OCSP */
wolfSSL 15:117db924cf7c 63
wolfSSL 15:117db924cf7c 64 #endif /* WOLFSSL_OCSP_H_ */
wolfSSL 15:117db924cf7c 65
wolfSSL 15:117db924cf7c 66