1e1051a39Sopenharmony_ci/* 2e1051a39Sopenharmony_ci * Generated by util/mkerr.pl DO NOT EDIT 3e1051a39Sopenharmony_ci * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. 4e1051a39Sopenharmony_ci * 5e1051a39Sopenharmony_ci * Licensed under the Apache License 2.0 (the "License"). You may not use 6e1051a39Sopenharmony_ci * this file except in compliance with the License. You can obtain a copy 7e1051a39Sopenharmony_ci * in the file LICENSE in the source distribution or at 8e1051a39Sopenharmony_ci * https://www.openssl.org/source/license.html 9e1051a39Sopenharmony_ci */ 10e1051a39Sopenharmony_ci 11e1051a39Sopenharmony_ci#ifndef OPENSSL_X509V3ERR_H 12e1051a39Sopenharmony_ci# define OPENSSL_X509V3ERR_H 13e1051a39Sopenharmony_ci# pragma once 14e1051a39Sopenharmony_ci 15e1051a39Sopenharmony_ci# include <openssl/opensslconf.h> 16e1051a39Sopenharmony_ci# include <openssl/symhacks.h> 17e1051a39Sopenharmony_ci# include <openssl/cryptoerr_legacy.h> 18e1051a39Sopenharmony_ci 19e1051a39Sopenharmony_ci 20e1051a39Sopenharmony_ci 21e1051a39Sopenharmony_ci/* 22e1051a39Sopenharmony_ci * X509V3 reason codes. 23e1051a39Sopenharmony_ci */ 24e1051a39Sopenharmony_ci# define X509V3_R_BAD_IP_ADDRESS 118 25e1051a39Sopenharmony_ci# define X509V3_R_BAD_OBJECT 119 26e1051a39Sopenharmony_ci# define X509V3_R_BN_DEC2BN_ERROR 100 27e1051a39Sopenharmony_ci# define X509V3_R_BN_TO_ASN1_INTEGER_ERROR 101 28e1051a39Sopenharmony_ci# define X509V3_R_DIRNAME_ERROR 149 29e1051a39Sopenharmony_ci# define X509V3_R_DISTPOINT_ALREADY_SET 160 30e1051a39Sopenharmony_ci# define X509V3_R_DUPLICATE_ZONE_ID 133 31e1051a39Sopenharmony_ci# define X509V3_R_EMPTY_KEY_USAGE 169 32e1051a39Sopenharmony_ci# define X509V3_R_ERROR_CONVERTING_ZONE 131 33e1051a39Sopenharmony_ci# define X509V3_R_ERROR_CREATING_EXTENSION 144 34e1051a39Sopenharmony_ci# define X509V3_R_ERROR_IN_EXTENSION 128 35e1051a39Sopenharmony_ci# define X509V3_R_EXPECTED_A_SECTION_NAME 137 36e1051a39Sopenharmony_ci# define X509V3_R_EXTENSION_EXISTS 145 37e1051a39Sopenharmony_ci# define X509V3_R_EXTENSION_NAME_ERROR 115 38e1051a39Sopenharmony_ci# define X509V3_R_EXTENSION_NOT_FOUND 102 39e1051a39Sopenharmony_ci# define X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED 103 40e1051a39Sopenharmony_ci# define X509V3_R_EXTENSION_VALUE_ERROR 116 41e1051a39Sopenharmony_ci# define X509V3_R_ILLEGAL_EMPTY_EXTENSION 151 42e1051a39Sopenharmony_ci# define X509V3_R_INCORRECT_POLICY_SYNTAX_TAG 152 43e1051a39Sopenharmony_ci# define X509V3_R_INVALID_ASNUMBER 162 44e1051a39Sopenharmony_ci# define X509V3_R_INVALID_ASRANGE 163 45e1051a39Sopenharmony_ci# define X509V3_R_INVALID_BOOLEAN_STRING 104 46e1051a39Sopenharmony_ci# define X509V3_R_INVALID_CERTIFICATE 158 47e1051a39Sopenharmony_ci# define X509V3_R_INVALID_EMPTY_NAME 108 48e1051a39Sopenharmony_ci# define X509V3_R_INVALID_EXTENSION_STRING 105 49e1051a39Sopenharmony_ci# define X509V3_R_INVALID_INHERITANCE 165 50e1051a39Sopenharmony_ci# define X509V3_R_INVALID_IPADDRESS 166 51e1051a39Sopenharmony_ci# define X509V3_R_INVALID_MULTIPLE_RDNS 161 52e1051a39Sopenharmony_ci# define X509V3_R_INVALID_NAME 106 53e1051a39Sopenharmony_ci# define X509V3_R_INVALID_NULL_ARGUMENT 107 54e1051a39Sopenharmony_ci# define X509V3_R_INVALID_NULL_VALUE 109 55e1051a39Sopenharmony_ci# define X509V3_R_INVALID_NUMBER 140 56e1051a39Sopenharmony_ci# define X509V3_R_INVALID_NUMBERS 141 57e1051a39Sopenharmony_ci# define X509V3_R_INVALID_OBJECT_IDENTIFIER 110 58e1051a39Sopenharmony_ci# define X509V3_R_INVALID_OPTION 138 59e1051a39Sopenharmony_ci# define X509V3_R_INVALID_POLICY_IDENTIFIER 134 60e1051a39Sopenharmony_ci# define X509V3_R_INVALID_PROXY_POLICY_SETTING 153 61e1051a39Sopenharmony_ci# define X509V3_R_INVALID_PURPOSE 146 62e1051a39Sopenharmony_ci# define X509V3_R_INVALID_SAFI 164 63e1051a39Sopenharmony_ci# define X509V3_R_INVALID_SECTION 135 64e1051a39Sopenharmony_ci# define X509V3_R_INVALID_SYNTAX 143 65e1051a39Sopenharmony_ci# define X509V3_R_ISSUER_DECODE_ERROR 126 66e1051a39Sopenharmony_ci# define X509V3_R_MISSING_VALUE 124 67e1051a39Sopenharmony_ci# define X509V3_R_NEED_ORGANIZATION_AND_NUMBERS 142 68e1051a39Sopenharmony_ci# define X509V3_R_NEGATIVE_PATHLEN 168 69e1051a39Sopenharmony_ci# define X509V3_R_NO_CONFIG_DATABASE 136 70e1051a39Sopenharmony_ci# define X509V3_R_NO_ISSUER_CERTIFICATE 121 71e1051a39Sopenharmony_ci# define X509V3_R_NO_ISSUER_DETAILS 127 72e1051a39Sopenharmony_ci# define X509V3_R_NO_POLICY_IDENTIFIER 139 73e1051a39Sopenharmony_ci# define X509V3_R_NO_PROXY_CERT_POLICY_LANGUAGE_DEFINED 154 74e1051a39Sopenharmony_ci# define X509V3_R_NO_PUBLIC_KEY 114 75e1051a39Sopenharmony_ci# define X509V3_R_NO_SUBJECT_DETAILS 125 76e1051a39Sopenharmony_ci# define X509V3_R_OPERATION_NOT_DEFINED 148 77e1051a39Sopenharmony_ci# define X509V3_R_OTHERNAME_ERROR 147 78e1051a39Sopenharmony_ci# define X509V3_R_POLICY_LANGUAGE_ALREADY_DEFINED 155 79e1051a39Sopenharmony_ci# define X509V3_R_POLICY_PATH_LENGTH 156 80e1051a39Sopenharmony_ci# define X509V3_R_POLICY_PATH_LENGTH_ALREADY_DEFINED 157 81e1051a39Sopenharmony_ci# define X509V3_R_POLICY_WHEN_PROXY_LANGUAGE_REQUIRES_NO_POLICY 159 82e1051a39Sopenharmony_ci# define X509V3_R_SECTION_NOT_FOUND 150 83e1051a39Sopenharmony_ci# define X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS 122 84e1051a39Sopenharmony_ci# define X509V3_R_UNABLE_TO_GET_ISSUER_KEYID 123 85e1051a39Sopenharmony_ci# define X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT 111 86e1051a39Sopenharmony_ci# define X509V3_R_UNKNOWN_EXTENSION 129 87e1051a39Sopenharmony_ci# define X509V3_R_UNKNOWN_EXTENSION_NAME 130 88e1051a39Sopenharmony_ci# define X509V3_R_UNKNOWN_OPTION 120 89e1051a39Sopenharmony_ci# define X509V3_R_UNSUPPORTED_OPTION 117 90e1051a39Sopenharmony_ci# define X509V3_R_UNSUPPORTED_TYPE 167 91e1051a39Sopenharmony_ci# define X509V3_R_USER_TOO_LONG 132 92e1051a39Sopenharmony_ci 93e1051a39Sopenharmony_ci#endif 94