1999-01-24 20:58:44 +00:00
|
|
|
/* Error codes for the X509V3 functions. */
|
|
|
|
|
|
|
|
/* Function codes. */
|
1999-02-10 01:12:59 +00:00
|
|
|
#define X509V3_F_HEX_TO_STRING 111
|
1999-01-24 20:58:44 +00:00
|
|
|
#define X509V3_F_S2I_ASN1_IA5STRING 100
|
1999-02-10 01:12:59 +00:00
|
|
|
#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
|
1999-01-24 20:58:44 +00:00
|
|
|
#define X509V3_F_V2I_ASN1_BIT_STRING 101
|
|
|
|
#define X509V3_F_V2I_BASIC_CONSTRAINTS 102
|
|
|
|
#define X509V3_F_V2I_EXT_KU 103
|
1999-02-14 17:21:14 +00:00
|
|
|
#define X509V3_F_V3_GENERIC_EXTENSION 116
|
1999-01-24 20:58:44 +00:00
|
|
|
#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. */
|
|
|
|
#define X509V3_R_BN_DEC2BN_ERROR 100
|
|
|
|
#define X509V3_R_BN_TO_ASN1_INTEGER_ERROR 101
|
1999-02-14 17:21:14 +00:00
|
|
|
#define X509V3_R_EXTENSION_NAME_ERROR 115
|
1999-01-24 20:58:44 +00:00
|
|
|
#define X509V3_R_EXTENSION_NOT_FOUND 102
|
|
|
|
#define X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED 103
|
1999-02-14 17:21:14 +00:00
|
|
|
#define X509V3_R_EXTENSION_VALUE_ERROR 116
|
1999-02-10 01:12:59 +00:00
|
|
|
#define X509V3_R_ILLEGAL_HEX_DIGIT 113
|
1999-01-24 20:58:44 +00:00
|
|
|
#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
|
1999-02-10 01:12:59 +00:00
|
|
|
#define X509V3_R_NO_PUBLIC_KEY 114
|
|
|
|
#define X509V3_R_ODD_NUMBER_OF_DIGITS 112
|
1999-01-24 20:58:44 +00:00
|
|
|
#define X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT 111
|