source: azure_iot_hub/trunk/wolfssl-3.15.7/wolfssl/openssl/ocsp.h@ 388

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

Azure IoT Hub Device C SDK を使ったサンプルの追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr
File size: 2.4 KB
Line 
1/* ocsp.h
2 *
3 * Copyright (C) 2006-2017 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_CERTID WOLFSSL_OCSP_CERTID
34#define OCSP_ONEREQ WOLFSSL_OCSP_ONEREQ
35
36#define OCSP_RESPONSE_STATUS_SUCCESSFUL 0
37#define V_OCSP_CERTSTATUS_GOOD 0
38
39#define OCSP_resp_find_status wolfSSL_OCSP_resp_find_status
40#define OCSP_cert_status_str wolfSSL_OCSP_cert_status_str
41#define OCSP_check_validity wolfSSL_OCSP_check_validity
42
43#define OCSP_CERTID_free wolfSSL_OCSP_CERTID_free
44#define OCSP_cert_to_id wolfSSL_OCSP_cert_to_id
45
46#define OCSP_BASICRESP_free wolfSSL_OCSP_BASICRESP_free
47#define OCSP_basic_verify wolfSSL_OCSP_basic_verify
48
49#define OCSP_RESPONSE_free wolfSSL_OCSP_RESPONSE_free
50#define d2i_OCSP_RESPONSE_bio wolfSSL_d2i_OCSP_RESPONSE_bio
51#define d2i_OCSP_RESPONSE wolfSSL_d2i_OCSP_RESPONSE
52#define i2d_OCSP_RESPONSE wolfSSL_i2d_OCSP_RESPONSE
53#define OCSP_response_status wolfSSL_OCSP_response_status
54#define OCSP_response_status_str wolfSSL_OCSP_response_status_str
55#define OCSP_response_get1_basic wolfSSL_OCSP_response_get1_basic
56
57#define OCSP_REQUEST_new wolfSSL_OCSP_REQUEST_new
58#define OCSP_REQUEST_free wolfSSL_OCSP_REQUEST_free
59#define i2d_OCSP_REQUEST wolfSSL_i2d_OCSP_REQUEST
60#define OCSP_request_add0_id wolfSSL_OCSP_request_add0_id
61
62#endif /* HAVE_OCSP */
63
64#endif /* WOLFSSL_OCSP_H_ */
65
Note: See TracBrowser for help on using the repository browser.