source: azure_iot_hub_f767zi/trunk/wolfssl-4.7.0/wolfssl/openssl/ocsp.h@ 464

Last change on this file since 464 was 464, checked in by coas-nagasima, 3 years ago

WolfSSLとAzure IoT SDKを更新

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-chdr;charset=UTF-8
File size: 3.4 KB
Line 
1/* ocsp.h
2 *
3 * Copyright (C) 2006-2020 wolfSSL Inc.
4 *
5 * This file is part of wolfSSL.
6 *
7 * wolfSSL is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * wolfSSL is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
20 */
21
22/* ocsp.h for libcurl */
23
24#ifndef WOLFSSL_OCSP_H_
25#define WOLFSSL_OCSP_H_
26
27#ifdef HAVE_OCSP
28#include <wolfssl/ocsp.h>
29
30#define OCSP_REQUEST OcspRequest
31#define OCSP_RESPONSE OcspResponse
32#define OCSP_BASICRESP WOLFSSL_OCSP_BASICRESP
33#define OCSP_SINGLERESP WOLFSSL_OCSP_SINGLERESP
34#define OCSP_CERTID WOLFSSL_OCSP_CERTID
35#define OCSP_ONEREQ WOLFSSL_OCSP_ONEREQ
36
37#define OCSP_REVOKED_STATUS_NOSTATUS -1
38
39
40#define OCSP_RESPONSE_STATUS_SUCCESSFUL 0
41#define OCSP_RESPONSE_STATUS_TRYLATER 3
42
43#define V_OCSP_CERTSTATUS_GOOD 0
44#define V_OCSP_CERTSTATUS_REVOKED 1
45#define V_OCSP_CERTSTATUS_UNKNOWN 2
46
47#define OCSP_resp_find_status wolfSSL_OCSP_resp_find_status
48#define OCSP_cert_status_str wolfSSL_OCSP_cert_status_str
49#define OCSP_check_validity wolfSSL_OCSP_check_validity
50
51#define OCSP_CERTID_free wolfSSL_OCSP_CERTID_free
52#define OCSP_cert_to_id wolfSSL_OCSP_cert_to_id
53
54#define OCSP_BASICRESP_free wolfSSL_OCSP_BASICRESP_free
55#define OCSP_basic_verify wolfSSL_OCSP_basic_verify
56
57#define OCSP_RESPONSE_free wolfSSL_OCSP_RESPONSE_free
58#define d2i_OCSP_RESPONSE_bio wolfSSL_d2i_OCSP_RESPONSE_bio
59#define d2i_OCSP_RESPONSE wolfSSL_d2i_OCSP_RESPONSE
60#define i2d_OCSP_RESPONSE wolfSSL_i2d_OCSP_RESPONSE
61#define OCSP_response_status wolfSSL_OCSP_response_status
62#define OCSP_response_status_str wolfSSL_OCSP_response_status_str
63#define OCSP_response_get1_basic wolfSSL_OCSP_response_get1_basic
64#define OCSP_response_create wolfSSL_OCSP_response_create
65
66#define OCSP_REQUEST_new wolfSSL_OCSP_REQUEST_new
67#define OCSP_REQUEST_free wolfSSL_OCSP_REQUEST_free
68#define i2d_OCSP_REQUEST wolfSSL_i2d_OCSP_REQUEST
69#define OCSP_request_add0_id wolfSSL_OCSP_request_add0_id
70#define OCSP_request_add1_nonce wolfSSL_OCSP_request_add1_nonce
71#define OCSP_check_nonce wolfSSL_OCSP_check_nonce
72#define OCSP_id_get0_info wolfSSL_OCSP_id_get0_info
73#define OCSP_crl_reason_str wolfSSL_OCSP_crl_reason_str
74#define OCSP_REQUEST_add_ext wolfSSL_OCSP_REQUEST_add_ext
75
76#define OCSP_CERTID_dup wolfSSL_OCSP_CERTID_dup
77
78#define i2d_OCSP_REQUEST_bio wolfSSL_i2d_OCSP_REQUEST_bio
79
80#define i2d_OCSP_CERTID wolfSSL_i2d_OCSP_CERTID
81#define OCSP_SINGLERESP_get0_id wolfSSL_OCSP_SINGLERESP_get0_id
82#define OCSP_single_get0_status wolfSSL_OCSP_single_get0_status
83#define OCSP_resp_count wolfSSL_OCSP_resp_count
84#define OCSP_resp_get0 wolfSSL_OCSP_resp_get0
85
86#endif /* HAVE_OCSP */
87
88#endif /* WOLFSSL_OCSP_H_ */
89
Note: See TracBrowser for help on using the repository browser.