]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/ocsperr.h
Generalize the HTTP client so far implemented mostly in crypto/ocsp/ocsp_ht.c
[thirdparty/openssl.git] / include / openssl / ocsperr.h
CommitLineData
52df25cf
RS
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
2a6a5607 3 * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved.
52df25cf 4 *
48f4ad77 5 * Licensed under the Apache License 2.0 (the "License"). You may not use
52df25cf
RS
6 * this file except in compliance with the License. You can obtain a copy
7 * in the file LICENSE in the source distribution or at
8 * https://www.openssl.org/source/license.html
9 */
10
ae4186b0
DMSP
11#ifndef OPENSSL_OCSPERR_H
12# define OPENSSL_OCSPERR_H
d86167ec
DMSP
13# pragma once
14
15# include <openssl/macros.h>
936c2b9e 16# ifndef OPENSSL_NO_DEPRECATED_3_0
d86167ec
DMSP
17# define HEADER_OCSPERR_H
18# endif
52df25cf 19
cbfa5b03
RS
20# include <openssl/opensslconf.h>
21# include <openssl/symhacks.h>
22
2a6a5607 23
048ebccb
RL
24# include <openssl/opensslconf.h>
25
26# ifndef OPENSSL_NO_OCSP
27
28# ifdef __cplusplus
a699b8e4 29extern "C"
048ebccb 30# endif
52df25cf 31int ERR_load_OCSP_strings(void);
52df25cf
RS
32
33/*
34 * OCSP function codes.
35 */
936c2b9e 36# ifndef OPENSSL_NO_DEPRECATED_3_0
cbfa5b03
RS
37# define OCSP_F_D2I_OCSP_NONCE 0
38# define OCSP_F_OCSP_BASIC_ADD1_STATUS 0
39# define OCSP_F_OCSP_BASIC_SIGN 0
40# define OCSP_F_OCSP_BASIC_SIGN_CTX 0
41# define OCSP_F_OCSP_BASIC_VERIFY 0
42# define OCSP_F_OCSP_CERT_ID_NEW 0
43# define OCSP_F_OCSP_CHECK_DELEGATED 0
44# define OCSP_F_OCSP_CHECK_IDS 0
45# define OCSP_F_OCSP_CHECK_ISSUER 0
46# define OCSP_F_OCSP_CHECK_VALIDITY 0
47# define OCSP_F_OCSP_MATCH_ISSUERID 0
cbfa5b03
RS
48# define OCSP_F_OCSP_REQUEST_SIGN 0
49# define OCSP_F_OCSP_REQUEST_VERIFY 0
50# define OCSP_F_OCSP_RESPONSE_GET1_BASIC 0
cbfa5b03 51# endif
52df25cf
RS
52
53/*
54 * OCSP reason codes.
55 */
048ebccb
RL
56# define OCSP_R_CERTIFICATE_VERIFY_ERROR 101
57# define OCSP_R_DIGEST_ERR 102
58# define OCSP_R_ERROR_IN_NEXTUPDATE_FIELD 122
59# define OCSP_R_ERROR_IN_THISUPDATE_FIELD 123
048ebccb
RL
60# define OCSP_R_MISSING_OCSPSIGNING_USAGE 103
61# define OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE 124
62# define OCSP_R_NOT_BASIC_RESPONSE 104
63# define OCSP_R_NO_CERTIFICATES_IN_CHAIN 105
64# define OCSP_R_NO_RESPONSE_DATA 108
65# define OCSP_R_NO_REVOKED_TIME 109
66# define OCSP_R_NO_SIGNER_KEY 130
67# define OCSP_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 110
68# define OCSP_R_REQUEST_NOT_SIGNED 128
69# define OCSP_R_RESPONSE_CONTAINS_NO_REVOCATION_DATA 111
70# define OCSP_R_ROOT_CA_NOT_TRUSTED 112
048ebccb
RL
71# define OCSP_R_SIGNATURE_FAILURE 117
72# define OCSP_R_SIGNER_CERTIFICATE_NOT_FOUND 118
73# define OCSP_R_STATUS_EXPIRED 125
74# define OCSP_R_STATUS_NOT_YET_VALID 126
75# define OCSP_R_STATUS_TOO_OLD 127
76# define OCSP_R_UNKNOWN_MESSAGE_DIGEST 119
77# define OCSP_R_UNKNOWN_NID 120
78# define OCSP_R_UNSUPPORTED_REQUESTORNAME_TYPE 129
52df25cf 79
048ebccb 80# endif
52df25cf 81#endif