Go to the documentation of this file.
55 #ifndef HEADER_CAPI_ERR_H
56 #define HEADER_CAPI_ERR_H
66 static void ERR_load_CAPI_strings(
void);
67 static void ERR_unload_CAPI_strings(
void);
68 static void ERR_CAPI_error(
int function,
int reason,
char *
file,
int line);
69 #define CAPIerr(f,r) ERR_CAPI_error((f),(r),__FILE__,__LINE__)
74 #define CAPI_F_CAPI_CERT_GET_FNAME 99
75 #define CAPI_F_CAPI_CTRL 100
76 #define CAPI_F_CAPI_CTX_NEW 101
77 #define CAPI_F_CAPI_CTX_SET_PROVNAME 102
78 #define CAPI_F_CAPI_DSA_DO_SIGN 114
79 #define CAPI_F_CAPI_GET_KEY 103
80 #define CAPI_F_CAPI_GET_PKEY 115
81 #define CAPI_F_CAPI_GET_PROVNAME 104
82 #define CAPI_F_CAPI_GET_PROV_INFO 105
83 #define CAPI_F_CAPI_INIT 106
84 #define CAPI_F_CAPI_LIST_CONTAINERS 107
85 #define CAPI_F_CAPI_LOAD_PRIVKEY 108
86 #define CAPI_F_CAPI_OPEN_STORE 109
87 #define CAPI_F_CAPI_RSA_PRIV_DEC 110
88 #define CAPI_F_CAPI_RSA_PRIV_ENC 111
89 #define CAPI_F_CAPI_RSA_SIGN 112
90 #define CAPI_F_CERT_SELECT_DIALOG 117
91 #define CAPI_F_CLIENT_CERT_SELECT 116
92 #define CAPI_F_WIDE_TO_ASC 113
95 #define CAPI_R_CANT_CREATE_HASH_OBJECT 99
96 #define CAPI_R_CANT_FIND_CAPI_CONTEXT 100
97 #define CAPI_R_CANT_GET_KEY 101
98 #define CAPI_R_CANT_SET_HASH_VALUE 102
99 #define CAPI_R_CRYPTACQUIRECONTEXT_ERROR 103
100 #define CAPI_R_CRYPTENUMPROVIDERS_ERROR 104
101 #define CAPI_R_DECRYPT_ERROR 105
102 #define CAPI_R_ENGINE_NOT_INITIALIZED 106
103 #define CAPI_R_ENUMCONTAINERS_ERROR 107
104 #define CAPI_R_ERROR_ADDING_CERT 125
105 #define CAPI_R_ERROR_CREATING_STORE 126
106 #define CAPI_R_ERROR_GETTING_FRIENDLY_NAME 108
107 #define CAPI_R_ERROR_GETTING_KEY_PROVIDER_INFO 109
108 #define CAPI_R_ERROR_OPENING_STORE 110
109 #define CAPI_R_ERROR_SIGNING_HASH 111
110 #define CAPI_R_FUNCTION_NOT_SUPPORTED 112
111 #define CAPI_R_GETUSERKEY_ERROR 113
112 #define CAPI_R_INVALID_DIGEST_LENGTH 124
113 #define CAPI_R_INVALID_DSA_PUBLIC_KEY_BLOB_MAGIC_NUMBER 122
114 #define CAPI_R_INVALID_LOOKUP_METHOD 114
115 #define CAPI_R_INVALID_PUBLIC_KEY_BLOB 115
116 #define CAPI_R_INVALID_RSA_PUBLIC_KEY_BLOB_MAGIC_NUMBER 123
117 #define CAPI_R_PUBKEY_EXPORT_ERROR 116
118 #define CAPI_R_PUBKEY_EXPORT_LENGTH_ERROR 117
119 #define CAPI_R_UNKNOWN_COMMAND 118
120 #define CAPI_R_UNSUPPORTED_ALGORITHM_NID 119
121 #define CAPI_R_UNSUPPORTED_PADDING 120
122 #define CAPI_R_UNSUPPORTED_PUBLIC_KEY_ALGORITHM 121
123 #define CAPI_R_WIN32_ERROR 127