x509v3.err 2.0 KB
Newer Older
D
Dr. Stephen Henson 已提交
1 2 3
/* Error codes for the X509V3 functions. */

/* Function codes. */
4
#define X509V3_F_HEX_TO_STRING				 111
5
#define X509V3_F_I2S_ASN1_ENUMERATED			 121
6
#define X509V3_F_I2S_ASN1_INTEGER			 120
D
Dr. Stephen Henson 已提交
7
#define X509V3_F_S2I_ASN1_IA5STRING			 100
8 9 10 11
#define X509V3_F_S2I_ASN1_OCTET_STRING			 112
#define X509V3_F_S2I_ASN1_SKEY_ID			 114
#define X509V3_F_S2I_S2I_SKEY_ID			 115
#define X509V3_F_STRING_TO_HEX				 113
D
Dr. Stephen Henson 已提交
12
#define X509V3_F_V2I_ASN1_BIT_STRING			 101
13
#define X509V3_F_V2I_AUTHORITY_KEYID			 119
D
Dr. Stephen Henson 已提交
14 15
#define X509V3_F_V2I_BASIC_CONSTRAINTS			 102
#define X509V3_F_V2I_EXT_KU				 103
16 17
#define X509V3_F_V2I_GENERAL_NAME			 117
#define X509V3_F_V2I_GENERAL_NAMES			 118
D
Dr. Stephen Henson 已提交
18
#define X509V3_F_V3_GENERIC_EXTENSION			 116
D
Dr. Stephen Henson 已提交
19 20 21 22 23 24 25 26 27
#define X509V3_F_X509V3_ADD_EXT				 104
#define X509V3_F_X509V3_ADD_VALUE			 105
#define X509V3_F_X509V3_EXT_ADD_ALIAS			 106
#define X509V3_F_X509V3_EXT_CONF			 107
#define X509V3_F_X509V3_GET_VALUE_INT			 108
#define X509V3_F_X509V3_PARSE_LIST			 109
#define X509V3_F_X509V3_VALUE_GET_BOOL			 110

/* Reason codes. */
28 29
#define X509V3_R_BAD_IP_ADDRESS				 118
#define X509V3_R_BAD_OBJECT				 119
D
Dr. Stephen Henson 已提交
30 31
#define X509V3_R_BN_DEC2BN_ERROR			 100
#define X509V3_R_BN_TO_ASN1_INTEGER_ERROR		 101
D
Dr. Stephen Henson 已提交
32
#define X509V3_R_EXTENSION_NAME_ERROR			 115
D
Dr. Stephen Henson 已提交
33 34
#define X509V3_R_EXTENSION_NOT_FOUND			 102
#define X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED	 103
D
Dr. Stephen Henson 已提交
35
#define X509V3_R_EXTENSION_VALUE_ERROR			 116
36
#define X509V3_R_ILLEGAL_HEX_DIGIT			 113
D
Dr. Stephen Henson 已提交
37 38 39 40 41 42 43
#define X509V3_R_INVALID_BOOLEAN_STRING			 104
#define X509V3_R_INVALID_EXTENSION_STRING		 105
#define X509V3_R_INVALID_NAME				 106
#define X509V3_R_INVALID_NULL_ARGUMENT			 107
#define X509V3_R_INVALID_NULL_NAME			 108
#define X509V3_R_INVALID_NULL_VALUE			 109
#define X509V3_R_INVALID_OBJECT_IDENTIFIER		 110
44
#define X509V3_R_NO_ISSUER_CERTIFICATE			 121
45 46
#define X509V3_R_NO_PUBLIC_KEY				 114
#define X509V3_R_ODD_NUMBER_OF_DIGITS			 112
47 48
#define X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS		 122
#define X509V3_R_UNABLE_TO_GET_ISSUER_KEYID		 123
D
Dr. Stephen Henson 已提交
49
#define X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT		 111
50
#define X509V3_R_UNKNOWN_OPTION				 120
51
#define X509V3_R_UNSUPPORTED_OPTION			 117