]>
Commit | Line | Data |
---|---|---|
52df25cf RS |
1 | /* |
2 | * Generated by util/mkerr.pl DO NOT EDIT | |
33388b44 | 3 | * Copyright 1995-2020 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 | ||
cbfa5b03 RS |
15 | # include <openssl/opensslconf.h> |
16 | # include <openssl/symhacks.h> | |
14a6c6a4 | 17 | # include <openssl/cryptoerr_legacy.h> |
cbfa5b03 | 18 | |
2a6a5607 | 19 | |
048ebccb RL |
20 | # ifndef OPENSSL_NO_OCSP |
21 | ||
52df25cf RS |
22 | |
23 | /* | |
24 | * OCSP function codes. | |
25 | */ | |
14a6c6a4 | 26 | # ifndef OPENSSL_NO_DEPRECATED_3_0 |
cbfa5b03 RS |
27 | # define OCSP_F_D2I_OCSP_NONCE 0 |
28 | # define OCSP_F_OCSP_BASIC_ADD1_STATUS 0 | |
29 | # define OCSP_F_OCSP_BASIC_SIGN 0 | |
30 | # define OCSP_F_OCSP_BASIC_SIGN_CTX 0 | |
31 | # define OCSP_F_OCSP_BASIC_VERIFY 0 | |
32 | # define OCSP_F_OCSP_CERT_ID_NEW 0 | |
33 | # define OCSP_F_OCSP_CHECK_DELEGATED 0 | |
34 | # define OCSP_F_OCSP_CHECK_IDS 0 | |
35 | # define OCSP_F_OCSP_CHECK_ISSUER 0 | |
36 | # define OCSP_F_OCSP_CHECK_VALIDITY 0 | |
37 | # define OCSP_F_OCSP_MATCH_ISSUERID 0 | |
cbfa5b03 RS |
38 | # define OCSP_F_OCSP_REQUEST_SIGN 0 |
39 | # define OCSP_F_OCSP_REQUEST_VERIFY 0 | |
40 | # define OCSP_F_OCSP_RESPONSE_GET1_BASIC 0 | |
14a6c6a4 | 41 | # endif |
52df25cf RS |
42 | |
43 | /* | |
44 | * OCSP reason codes. | |
45 | */ | |
048ebccb RL |
46 | # define OCSP_R_CERTIFICATE_VERIFY_ERROR 101 |
47 | # define OCSP_R_DIGEST_ERR 102 | |
c51a8af8 P |
48 | # define OCSP_R_DIGEST_NAME_ERR 106 |
49 | # define OCSP_R_DIGEST_SIZE_ERR 107 | |
048ebccb RL |
50 | # define OCSP_R_ERROR_IN_NEXTUPDATE_FIELD 122 |
51 | # define OCSP_R_ERROR_IN_THISUPDATE_FIELD 123 | |
048ebccb RL |
52 | # define OCSP_R_MISSING_OCSPSIGNING_USAGE 103 |
53 | # define OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE 124 | |
54 | # define OCSP_R_NOT_BASIC_RESPONSE 104 | |
55 | # define OCSP_R_NO_CERTIFICATES_IN_CHAIN 105 | |
56 | # define OCSP_R_NO_RESPONSE_DATA 108 | |
57 | # define OCSP_R_NO_REVOKED_TIME 109 | |
58 | # define OCSP_R_NO_SIGNER_KEY 130 | |
59 | # define OCSP_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 110 | |
60 | # define OCSP_R_REQUEST_NOT_SIGNED 128 | |
61 | # define OCSP_R_RESPONSE_CONTAINS_NO_REVOCATION_DATA 111 | |
62 | # define OCSP_R_ROOT_CA_NOT_TRUSTED 112 | |
048ebccb RL |
63 | # define OCSP_R_SIGNATURE_FAILURE 117 |
64 | # define OCSP_R_SIGNER_CERTIFICATE_NOT_FOUND 118 | |
65 | # define OCSP_R_STATUS_EXPIRED 125 | |
66 | # define OCSP_R_STATUS_NOT_YET_VALID 126 | |
67 | # define OCSP_R_STATUS_TOO_OLD 127 | |
68 | # define OCSP_R_UNKNOWN_MESSAGE_DIGEST 119 | |
69 | # define OCSP_R_UNKNOWN_NID 120 | |
70 | # define OCSP_R_UNSUPPORTED_REQUESTORNAME_TYPE 129 | |
52df25cf | 71 | |
048ebccb | 72 | # endif |
52df25cf | 73 | #endif |