naoki 1.0.1-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +56 -0
- data/ext/binding.c +151 -0
- data/ext/extconf.rb +3 -0
- data/ext/icapi.h +1187 -0
- data/ext/icapierr.h +320 -0
- data/ext/libICAPI.so +0 -0
- metadata +63 -0
data/ext/icapierr.h
ADDED
@@ -0,0 +1,320 @@
|
|
1
|
+
|
2
|
+
/*
|
3
|
+
* @(#)icapierr.h 1.3 09/08/11 18:09:08 SafeNet, Inc.
|
4
|
+
*
|
5
|
+
* Copyright (c) 2003-2009 SafeNet, Inc.
|
6
|
+
*
|
7
|
+
* Ingrian/SafeNet Crypto API (ICAPI)
|
8
|
+
*
|
9
|
+
*/
|
10
|
+
|
11
|
+
|
12
|
+
#ifndef IngrianICAPIERRORCODES
|
13
|
+
#define IngrianICAPIERRORCODES
|
14
|
+
|
15
|
+
/* Error codes run numerically from 0 up, i.e., are positive.
|
16
|
+
* DO NOT use the numeric values in your code! Use the enum.
|
17
|
+
*/
|
18
|
+
enum I_T_ErrorCodeEnum
|
19
|
+
{
|
20
|
+
I_E_OK = 0,
|
21
|
+
I_E_ALREADY_INITIALIZED = 1,
|
22
|
+
I_E_INVALID_INITIALIZE_PATH = 2,
|
23
|
+
I_E_INVALID_INITIALIZE_SOURCE = 3,
|
24
|
+
I_E_LIBRARY_UNINITIALIZED = 4,
|
25
|
+
I_E_PROTOCOL_VERSION_MISMATCH = 5,
|
26
|
+
I_E_PROPERTIES_SOURCE_NOT_FOUND = 6,
|
27
|
+
I_E_PROPERTIES_FILE_NOT_FOUND = 7,
|
28
|
+
I_E_NO_NAE_SERVERS = 8,
|
29
|
+
I_E_CONF_FILE_VERSION_MISMATCH = 9,
|
30
|
+
I_E_INVALID_PROPERTY = 10,
|
31
|
+
I_E_CANNOT_WRITE_TO_LOG_FILE = 11,
|
32
|
+
I_E_NAE_IP_PROPERTY_FORMAT_INVALID = 12,
|
33
|
+
I_E_NO_MEM = 33,
|
34
|
+
I_E_INVALID_PARAM = 34,
|
35
|
+
I_E_INVALID_SESSION = 35,
|
36
|
+
I_E_INVALID_OBJECT = 36,
|
37
|
+
I_E_INVALID_AUTH_TYPE = 41,
|
38
|
+
I_E_UNSUPPORTED_AUTH_TYPE = 42,
|
39
|
+
I_E_LOGGED_OUT = 43,
|
40
|
+
I_E_MISSING_AUTH_INFO = 44,
|
41
|
+
I_E_SHORT_RANDOM = 51,
|
42
|
+
I_E_KEY_NOT_EXPORTABLE = 52,
|
43
|
+
I_E_SERVER_DOES_NOT_SUPPORT_BULK = 53,
|
44
|
+
I_E_TOO_FEW_OPERATIONS_FOR_BULK = 54,
|
45
|
+
I_E_INITIALIZATION_FAILED = 55,
|
46
|
+
I_E_CRYPTO_BUFFER_TOO_SMALL = 56,
|
47
|
+
I_E_UNSUPPORTED_ALGORITHM = 57,
|
48
|
+
I_E_INCORRECT_KEY_TYPE = 58,
|
49
|
+
I_E_CONNECTION_FAILED = 70,
|
50
|
+
I_E_SERVER_UNAVAILABLE = 71,
|
51
|
+
I_E_SERVER_DOES_NOT_BATCH = 72,
|
52
|
+
I_E_CONNECTION_READ_ERROR = 74,
|
53
|
+
I_E_CONNECTION_WRITE_ERROR = 75,
|
54
|
+
I_E_CONNECTION_ERROR = 76,
|
55
|
+
I_E_CONNECTION_FATAL_ERROR = 77,
|
56
|
+
I_E_CONNECTION_NONFATAL_ERROR = 78,
|
57
|
+
I_E_CONNECTION_INVALID_RESPONSE = 79,
|
58
|
+
I_E_CONNECTION_INVALID_DATA_SIZE = 80,
|
59
|
+
I_E_CONNECTION_BUFFER_FULL = 81,
|
60
|
+
I_E_CONNECTION_NO_MEM = 82,
|
61
|
+
I_E_CONNECTION_INVALID_XML = 83,
|
62
|
+
I_E_CONNECTION_INVALID = 84,
|
63
|
+
I_E_UNKNOWN_SERVER_ERROR = 85,
|
64
|
+
I_E_SERVER_AUTHENTICATION_FAILED = 86,
|
65
|
+
I_E_SERVER_OPERATION_UNKNOWN = 87,
|
66
|
+
I_E_INVALID_NAE_USER = 88,
|
67
|
+
I_E_NAE_AUTHENTICATION_REQUIRED = 89,
|
68
|
+
I_E_NAE_DATA_TOO_LONG = 90,
|
69
|
+
I_E_DATA_SIZE_IS_NOT_BLOCK_SIZE_MULTIPLE = 91,
|
70
|
+
I_E_INVALID_PADDING = 92,
|
71
|
+
I_E_OPERATION_NOT_SUPPORTED = 93,
|
72
|
+
I_E_INVALID_ALGORITHM_FOR_KEY = 94,
|
73
|
+
I_E_INVALID_DATA_SIZE = 95,
|
74
|
+
I_E_INVALID_KEY_NAME = 96,
|
75
|
+
I_E_UNKNOWN_KEY = 97,
|
76
|
+
I_E_COULD_NOT_INITIALIZE_KEY = 98,
|
77
|
+
I_E_KEY_DELETED_OR_MODIFIED = 99,
|
78
|
+
I_E_COULD_NOT_GENERATE_KEY = 100,
|
79
|
+
I_E_KEY_ALREADY_EXISTS = 101,
|
80
|
+
I_E_UNSUPPORTED_KEY_SIZE = 102,
|
81
|
+
I_E_INVALID_KEY_SIZE = 103,
|
82
|
+
I_E_INVALID_PERMISSIONS = 104,
|
83
|
+
I_E_GLOBAL_KEY_CANNOT_HAVE_PERMISSIONS = 105,
|
84
|
+
I_E_KEY_IS_NOT_DELETABLE = 106,
|
85
|
+
I_E_INVALID_IV = 107,
|
86
|
+
I_E_INVALID_IV_SIZE = 108,
|
87
|
+
I_E_INVALID_ALGORITHM = 109,
|
88
|
+
I_E_LOCAL_CRYPT_GENERIC_ERROR = 110,
|
89
|
+
I_E_CANNOT_ENABLE_KEY_CACHE = 111,
|
90
|
+
I_E_END = 112,
|
91
|
+
I_E_INTERNAL_ERROR = 113,
|
92
|
+
I_E_ALREADY_EXISTS = 114,
|
93
|
+
I_E_TR_GROUP_REQUIRED = 115,
|
94
|
+
I_E_SERVER_EXCEEDED_MAX_NUMBER_OF_KEYS = 116,
|
95
|
+
I_E_INSUFFICIENT_PERMISSIONS = 117,
|
96
|
+
I_E_GLOBAL_KEY_USAGE_NOT_ALLOWED = 118,
|
97
|
+
I_E_KEY_CHANGE_OWNER_FAILED = 119,
|
98
|
+
I_E_SET_KEY_META_DATA_FAILED = 120,
|
99
|
+
I_E_MISSING_CREDENTIALS = 121,
|
100
|
+
I_E_CANNOT_ENABLE_PERSISTENT_CACHE = 122,
|
101
|
+
I_E_CANNOT_OBTAIN_PERSISTENT_CACHE_PASSPHRASE = 123,
|
102
|
+
I_E_CANNOT_CONNECT_TO_PERSISTENT_CACHE = 124,
|
103
|
+
I_E_CANNOT_READ_PERSISTENT_CACHE_ITEM = 125,
|
104
|
+
I_E_CANNOT_WRITE_PERSISTENT_CACHE_ITEM = 126,
|
105
|
+
I_E_USER_PASSPHRASE_CALLBACK_FAILED = 127,
|
106
|
+
I_E_KEY_VERSION_DOES_NOT_EXIST = 128,
|
107
|
+
I_E_NOT_VERSIONED_KEY = 129,
|
108
|
+
I_E_USER_PASSPHRASE_OR_CALLBACK_NOT_SPECIFIED = 130,
|
109
|
+
I_E_USER_PASSPHRASE_NOT_SET = 131,
|
110
|
+
I_E_PERSISTENT_CACHING_DISALLOWED_BY_PROPERTIES_SETTINGS = 132,
|
111
|
+
I_E_ERR_CONN_CAFILE = 133,
|
112
|
+
I_E_ERR_CONN_CERTFILE = 134,
|
113
|
+
I_E_ERR_CONN_PRIVATEKEY = 135,
|
114
|
+
I_E_ERR_PERSISTENT_CACHE_REQUIRES_SYMMETRIC_KEY_CACHE = 136,
|
115
|
+
I_E_ERR_PERSISTENT_CACHE_DIRECTORY_NOT_SET = 137,
|
116
|
+
I_E_ERR_SYMMETRIC_EXPIRY_GREATER_THAN_PERSISTENT_EXPIRY = 138,
|
117
|
+
I_E_ERR_PERSISTENT_CACHE_EXPIRY_KEYS_VALUE_INVALID = 139,
|
118
|
+
I_E_ERR_PERSISTENT_CACHE_MAX_SIZE_VALUE_INVALID = 140,
|
119
|
+
I_E_INVALID_OPERATION = 141,
|
120
|
+
I_E_INVALID_KEY_VERSION = 142,
|
121
|
+
I_E_FAILED_TO_CREATE_VERSION = 143,
|
122
|
+
I_E_KEY_VERSION_NOT_SUPPORTED_FOR_OPERATION = 144,
|
123
|
+
I_E_INVALID_REQUEST_XML_FORMAT = 145,
|
124
|
+
I_E_REQUEST_HEADER_TOO_LARGE = 146,
|
125
|
+
I_E_INVALID_OR_MISSING_DATA_SECTION = 147,
|
126
|
+
I_E_INVALID_DATA_CHUNK = 148,
|
127
|
+
I_E_INVALID_CHUNK_SIZE = 149,
|
128
|
+
I_E_DATA_TOO_LARGE_FOR_BULK = 150,
|
129
|
+
I_E_AUTH_MISSING_ES_NAME = 151,
|
130
|
+
I_E_INVALID_ESPROFILE = 152,
|
131
|
+
I_E_INVALID_EDGESECURE = 153,
|
132
|
+
I_E_MISMATCHED_EDGESECURE = 154,
|
133
|
+
I_E_CIPHERTEXT_HEADER_DECODE_FAILED = 155,
|
134
|
+
I_E_CIPHERTEXT_HEADER_ENCODE_FAILED = 156,
|
135
|
+
I_E_OPERATION_DOES_NOT_SUPPORT_ALGORITHM = 157,
|
136
|
+
I_E_CANNOT_OPEN_PERSISTENT_CACHE_FILE = 158,
|
137
|
+
I_E_INVALID_OR_MISSING_MAC_VALUE = 159,
|
138
|
+
I_E_KEY_IS_NOT_ASYMMETRIC = 160,
|
139
|
+
I_E_INVALID_FORMAT = 161,
|
140
|
+
I_E_PWD_FOR_PKCS12_ONLY = 162,
|
141
|
+
I_E_PWD_REQUIRED_FOR_PKCS12 = 163,
|
142
|
+
I_E_NOT_A_CERT = 164,
|
143
|
+
I_E_CERT_HAS_NO_PRIV_KEY = 165,
|
144
|
+
I_E_CERT_VERIFY_FAILED = 166,
|
145
|
+
I_E_UNKNOWN_CA = 167,
|
146
|
+
I_E_CA_EXPORT_FAILED = 168,
|
147
|
+
I_E_CERT_CLONE_NOT_ALLOWED = 169,
|
148
|
+
I_E_INVALID_OPERATION_ALGORITHM_PAIR = 170,
|
149
|
+
I_E_FORMAT_NOT_NEEDED_FOR_SYMM_KEY = 171,
|
150
|
+
|
151
|
+
I_E_NODATA_READ = 10078,
|
152
|
+
I_E_COULD_NOT_PARSE_REQUEST = 10101,
|
153
|
+
I_E_NAE_COULD_NOT_IMPORT_KEY = 11421,
|
154
|
+
I_E_NAE_INVALID_OR_MISSING_KEY_DATA = 11423,
|
155
|
+
I_E_ENCRYPTED_TABLE_NOT_FOUND = 11600,
|
156
|
+
I_E_ENCRYPTED_COLUMN_NOT_FOUND = 11601,
|
157
|
+
|
158
|
+
I_E_SERVER_UNKNOWN_SERVER_ERROR = 20001,
|
159
|
+
I_E_SERVER_OUT_OF_MEMORY = 20002,
|
160
|
+
I_E_SERVER_NO_INSTALLED_LICENSES = 20040,
|
161
|
+
I_E_SERVER_ALL_LICENSES_IN_USE = 20041,
|
162
|
+
I_E_SERVER_PROTOCOL_MISMATCH = 20050,
|
163
|
+
I_E_SERVER_UNRECOGNIZABLE_REQUEST = 20100,
|
164
|
+
I_E_SERVER_UNSUPPORTED_PROTOCOL_VERSION = 20107,
|
165
|
+
I_E_SERVER_INVALID_REQUEST_ID = 20108,
|
166
|
+
I_E_SERVER_INVALID_VERSION_REQUEST = 20109,
|
167
|
+
I_E_SERVER_REQUEST_NO_LONGER_SUPPORTED = 20110,
|
168
|
+
I_E_SERVER_REQUEST_DISALLOWED = 20111,
|
169
|
+
I_E_SERVER_KEY_EXPORT_REQUEST_DISALLOWED = 20112,
|
170
|
+
I_E_SERVER_INVALID_KEYINFO_PARAMS = 20114,
|
171
|
+
I_E_SERVER_INCOMPLETE_PERMISSIONS = 20115,
|
172
|
+
I_E_SERVER_CANNOT_CLONE_VERSIONED_KEYS = 20116,
|
173
|
+
I_E_SERVER_AUTH_MISSING_USER_NAME = 20200,
|
174
|
+
I_E_SERVER_AUTH_MISSING_PASSWD = 20201,
|
175
|
+
I_E_SERVER_AUTH_INVALID_USER_PASSWD = 20202,
|
176
|
+
I_E_SERVER_INVALID_AUTH = 20203,
|
177
|
+
I_E_SERVER_USER_CERT_MISMATCH = 20204,
|
178
|
+
I_E_SERVER_AUTH_CANNOT_CONNECT = 20205,
|
179
|
+
I_E_SERVER_AUTH_MISSING_CREDENTIALS = 20206,
|
180
|
+
I_E_SERVER_AUTH_INVALID_TOKEN = 20207,
|
181
|
+
I_E_SERVER_AUTH_TOKEN_EXPIRED = 20208,
|
182
|
+
I_E_SERVER_UNAUTHORIZED_ACCESS = 20221,
|
183
|
+
I_E_SERVER_PASSWORD_REQUIRED = 20230,
|
184
|
+
I_E_SERVER_CLIENT_MUST_REAUTH = 20231,
|
185
|
+
I_E_SERVER_CLIENT_CERTIFICATE_REQUIRED = 20240,
|
186
|
+
I_E_SERVER_CLIENT_CERTIFICATE_INVALID = 20241,
|
187
|
+
I_E_SERVER_CERT_IP_REQUIRED = 20242,
|
188
|
+
I_E_SERVER_CERT_IP_INVALID = 20243,
|
189
|
+
I_E_SERVER_CERT_IP_MISMATCH = 20244,
|
190
|
+
I_E_SERVER_CLIENT_CIPHER_INVALID = 20245,
|
191
|
+
I_E_SERVER_NEED_AUTH = 20264,
|
192
|
+
I_E_SERVER_USER_CANNOT_ACCESS_SERVICE = 20280,
|
193
|
+
I_E_SERVER_CRYPTO_FAILED = 20300,
|
194
|
+
I_E_SERVER_CRYPTO_UPDATE_FAILED = 20304,
|
195
|
+
I_E_SERVER_CRYPTO_FINAL_FAILED = 20305,
|
196
|
+
I_E_SERVER_CRYPTO_OPERATION_FAILED = 20306,
|
197
|
+
I_E_SERVER_CRYPTO_MAC_FAILED = 20307,
|
198
|
+
I_E_SERVER_CRYPTO_MACV_FAILED = 20308,
|
199
|
+
I_E_SERVER_CRYPTO_SIGN_FAILED = 20309,
|
200
|
+
I_E_SERVER_CRYPTO_SIGNV_FAILED = 20310,
|
201
|
+
I_E_SERVER_BASE64_ENCODE_FAILED = 20320,
|
202
|
+
I_E_SERVER_CRYPTO_VERSION_MISMATCH = 20322,
|
203
|
+
I_E_SERVER_KEY_CHANGE_OWNER_FAILED = 20400,
|
204
|
+
I_E_SERVER_SET_KEY_META_DATA_FAILED = 20401,
|
205
|
+
I_E_SERVER_DUPLICATE_CUSTOM_ATTRIBUTE = 20402,
|
206
|
+
I_E_SERVER_INVALID_CUSTOM_ATTRIBUTE_VALUE = 20403,
|
207
|
+
I_E_SERVER_MAX_NUM_CUSTOM_ATTRIBUTES_EXCEEDED = 20404,
|
208
|
+
I_E_SERVER_MAX_CUSTOM_ATTRIBUTE_NAME_SIZE_EXCEEDED = 20405,
|
209
|
+
I_E_SERVER_MAX_CUSTOM_ATTRIBUTE_VALUE_SIZE_EXCEEDED = 20406,
|
210
|
+
I_E_SERVER_MAX_TOTAL_CUSTOM_ATTRIBUTE_SIZE_EXCEEDED = 20407,
|
211
|
+
I_E_SERVER_INVALID_OWNER = 20408,
|
212
|
+
I_E_SERVER_MAX_ACTIVE_VERSIONS_EXCEEDED = 20410,
|
213
|
+
I_E_SERVER_INVALID_ATTRIBUTE_NAME = 20411,
|
214
|
+
I_E_SERVER_CONFIGURATION_WRITE_FAILED = 21002,
|
215
|
+
I_E_SERVER_INTERNAL_SERVER_COMM_TIMEOUT = 21003,
|
216
|
+
I_E_SERVER_INTERNAL_SERVER_CONNECT_FAILED = 21004,
|
217
|
+
I_E_SERVER_INVALID_PARAM_VALUE = 21100,
|
218
|
+
I_E_SERVER_INVALID_OR_MISSING_OPERATIONS_BLOCK = 21300,
|
219
|
+
I_E_SERVER_INVALID_OR_MISSING_OPERATION_NAME = 21301,
|
220
|
+
I_E_SERVER_OPERATION_REQUIRES_ALGORITHM = 21303,
|
221
|
+
I_E_SERVER_INVALID_ALGORITHM_OPERATION_PAIR = 21304,
|
222
|
+
I_E_SERVER_INVALID_OR_MISSING_ALGORITHM_NAME = 21320,
|
223
|
+
I_E_SERVER_UNKNOWN_ALGORITHM_NAME = 21321,
|
224
|
+
I_E_SERVER_KEY_REQUIRED_FOR_THIS_ALGORITHM = 21322,
|
225
|
+
I_E_SERVER_INVALID_KEY_ALGORITHM_PAIR = 21323,
|
226
|
+
I_E_SERVER_NAE_CERT_NOT_VALID_FOR_CRYPTO = 21324,
|
227
|
+
I_E_SERVER_INVALID_IV = 21340,
|
228
|
+
I_E_SERVER_ALGORITHM_REQUIRES_IV = 21341,
|
229
|
+
I_E_SERVER_ALGORITHM_DOES_NOT_REQUIRE_IV = 21342,
|
230
|
+
I_E_SERVER_INVALID_OR_MISSING_SIGNATURE_VALUE = 21345,
|
231
|
+
I_E_SERVER_INVALID_OR_MISSING_ES_NAME = 21370,
|
232
|
+
I_E_SERVER_INVALID_OR_MISSING_DB_COLUMN_ID = 21371,
|
233
|
+
I_E_SERVER_INVALID_OR_MISSING_KEY_NAME = 21400,
|
234
|
+
I_E_SERVER_UNKNOWN_KEY_NAME = 21401,
|
235
|
+
I_E_SERVER_NO_ACTIVE_VERSIONS = 21406,
|
236
|
+
I_E_SERVER_PASSWORD_NOT_BASE_64 = 21407,
|
237
|
+
I_E_SERVER_INVALID_KEY_STATE = 21429,
|
238
|
+
I_E_SERVER_WEAK_DES_KEY = 21430,
|
239
|
+
I_E_SERVER_REPL_PASSWORD_NOT_SET = 21442,
|
240
|
+
I_E_SERVER_BOTH_WRAP_KEY_AND_WRAP_KEY_NAME = 21444,
|
241
|
+
I_E_SERVER_INVALID_OR_MISSING_WRAP_ALGORITHM = 21445,
|
242
|
+
I_E_SERVER_INVALID_OR_MISSING_WRAP_KEY_NAME = 21446,
|
243
|
+
I_E_SERVER_KEY_IS_IN_USE_BY_PROFILES = 21451,
|
244
|
+
I_E_SERVER_FAILED_TO_DELETE_KEY = 21452,
|
245
|
+
I_E_SERVER_CERT_KEY_SIZE_NOT_ALLOWED = 21462,
|
246
|
+
I_E_SERVER_RSA_ENCRYPTION_NOT_ALLOWED = 21463,
|
247
|
+
I_E_SERVER_KEY_QUERY_EXCEEDED_NUM_KEYS = 21464,
|
248
|
+
I_E_SERVER_INVALID_OR_MISSING_CRYPTO_PROFILE_NAME = 21470,
|
249
|
+
I_E_SERVER_UNKNOWN_CRYPTO_PROFILE_NAME = 21471,
|
250
|
+
I_E_SERVER_CERT_CAN_NOT_GENERATE_CR = 21500,
|
251
|
+
I_E_SERVER_CERT_CAN_NOT_SIGN_CR = 21501,
|
252
|
+
I_E_SERVER_CERT_CAN_NOT_INSTALL_CERT = 21502,
|
253
|
+
I_E_SERVER_UNKNOWN_CERTIFICATE_REQUEST = 21510,
|
254
|
+
I_E_SERVER_CERT_UNKNOWN_CERTIFICATE = 21511,
|
255
|
+
I_E_SERVER_CERT_EXPORT_FAILED = 21512,
|
256
|
+
I_E_SERVER_INVALID_OR_MISSING_CERT_NAME = 21520,
|
257
|
+
I_E_SERVER_INVALID_OR_MISSING_CERTIFICATE = 21521,
|
258
|
+
I_E_SERVER_INVALID_OR_MISSING_COMMON_NAME = 21522,
|
259
|
+
I_E_SERVER_INVALID_ORG_NAME = 21523,
|
260
|
+
I_E_SERVER_INVALID_ORG_UNIT = 21524,
|
261
|
+
I_E_SERVER_INVALID_LOC_NAME = 21525,
|
262
|
+
I_E_SERVER_INVALID_STATE_NAME = 21526,
|
263
|
+
I_E_SERVER_INVALID_OR_MISSING_COUNTRY_NAME = 21527,
|
264
|
+
I_E_SERVER_INVALID_EMAIL = 21528,
|
265
|
+
I_E_SERVER_INVALID_OR_MISSING_CA_NAME = 21529,
|
266
|
+
I_E_SERVER_DUPLICATE_CERT_NAME = 21530,
|
267
|
+
I_E_SERVER_INVALID_CERT_NAME = 21531,
|
268
|
+
I_E_SERVER_CERT_NAME_TOO_LONG = 21532,
|
269
|
+
I_E_SERVER_CERT_INVALID_KEY_SIZE = 21533,
|
270
|
+
I_E_SERVER_CERT_COUNTRY_NAME_TOO_LONG = 21534,
|
271
|
+
I_E_SERVER_CERT_COUNTRY_NAME_TOO_SHORT = 21534,
|
272
|
+
I_E_SERVER_CERT_COMMON_NAME_TOO_LONG = 21535,
|
273
|
+
I_E_SERVER_CERT_COMMON_NAME_TOO_SHORT = 21536,
|
274
|
+
I_E_SERVER_CERT_EMAIL_TOO_LONG = 21537,
|
275
|
+
I_E_SERVER_DUPLICATE_DN_FIELD = 21540,
|
276
|
+
I_E_SERVER_INVALID_DN_FIELD_VALUE = 21541,
|
277
|
+
I_E_SERVER_SUBJECT_WITHOUT_CERT = 21542,
|
278
|
+
I_E_SERVER_CERT_WITHOUT_SUBJECT = 21543,
|
279
|
+
I_E_SERVER_EXTENSIONS_WITHOUT_CERT = 21544,
|
280
|
+
I_E_SERVER_EXTENSION_NOT_SUPPORTED = 21545,
|
281
|
+
I_E_SERVER_INVALID_OR_MISSING_CERTIFICATE_DATA_FORMAT = 21546,
|
282
|
+
I_E_SERVER_NOT_A_CSR = 21547,
|
283
|
+
I_E_SERVER_INVALID_OR_MISSING_CERTIFICATE_USAGE = 21549,
|
284
|
+
I_E_SERVER_INVALID_OR_MISSING_CERTIFICATE_EXPIRY = 21550,
|
285
|
+
I_E_SERVER_IS_A_CERT = 21551,
|
286
|
+
I_E_SERVER_CA_CERT_DISALLOWED = 21553,
|
287
|
+
I_E_SERVER_CERT_CRL_VERIFY_FAILED = 21554,
|
288
|
+
I_E_SERVER_CERT_SIGN_INVALID = 21555,
|
289
|
+
I_E_SERVER_CERT_HAS_EXPIRED = 21556,
|
290
|
+
I_E_SERVER_CERT_IS_INACTIVE = 21557,
|
291
|
+
I_E_SERVER_CERT_IS_INVALID = 21558,
|
292
|
+
I_E_SERVER_INVALID_USER_NAME = 21601,
|
293
|
+
I_E_SERVER_NAE_USER_ALREADY_EXISTS = 21602,
|
294
|
+
I_E_SERVER_MISSING_PASSWD = 21620,
|
295
|
+
I_E_SERVER_INVALID_PASSWORD = 21621,
|
296
|
+
I_E_SERVER_WEAK_PASSWORD = 21622,
|
297
|
+
I_E_SERVER_MISSING_GROUP_NAME = 21640,
|
298
|
+
I_E_SERVER_INVALID_GROUP_NAME = 21641,
|
299
|
+
I_E_SERVER_GROUP_ALREADY_EXISTS = 21642,
|
300
|
+
I_E_SERVER_GROUP_DOES_NOT_EXIST = 21643,
|
301
|
+
I_E_SERVER_USER_OWNS_KEY = 21660,
|
302
|
+
I_E_SERVER_USER_IN_GROUP = 21661,
|
303
|
+
I_E_SERVER_INVALID_USER_OP_LDAP = 21670,
|
304
|
+
I_E_SERVER_USERMOD_INVALID_EDGESECURE = 21671,
|
305
|
+
I_E_SERVER_SQL_MISSING_SQL = 21700,
|
306
|
+
I_E_SERVER_SQL_MISSING_DATABASE_ALIAS = 21701,
|
307
|
+
I_E_SERVER_SQL_BACKEND = 21702,
|
308
|
+
I_E_SERVER_SQL_NO_MAPPING = 21703,
|
309
|
+
I_E_SERVER_BACKEND_COMMUNICATION_FAILURE = 21800,
|
310
|
+
I_E_SERVER_MISSING_MESSAGE_SIZE = 21900,
|
311
|
+
I_E_SERVER_INVALID_MESSAGE_SIZE = 21901,
|
312
|
+
I_E_SERVER_MISSING_MESSAGE = 21902,
|
313
|
+
I_E_SERVER_EXCEEDED_MESSAGE_SIZE = 21903,
|
314
|
+
|
315
|
+
I_E_ENUM_LENGTH /* MUST ALWAYS BE LAST ENTRY!! */
|
316
|
+
};
|
317
|
+
|
318
|
+
#undef IngrianICAPIERRORCODES
|
319
|
+
#endif /* IngrianICAPIERRORCODES */
|
320
|
+
|
data/ext/libICAPI.so
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: naoki
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 1.0.1
|
6
|
+
platform: x86-linux
|
7
|
+
authors:
|
8
|
+
- Chris Apolzon
|
9
|
+
- Liron Yahdav
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
|
14
|
+
date: 2011-03-09 00:00:00 -08:00
|
15
|
+
default_executable:
|
16
|
+
dependencies: []
|
17
|
+
|
18
|
+
description: C Bindings for SafeNet DataSecure ICAPI
|
19
|
+
email:
|
20
|
+
- apolzon@gmail.com
|
21
|
+
executables: []
|
22
|
+
|
23
|
+
extensions:
|
24
|
+
- ext/extconf.rb
|
25
|
+
extra_rdoc_files: []
|
26
|
+
|
27
|
+
files:
|
28
|
+
- Rakefile
|
29
|
+
- ext/binding.c
|
30
|
+
- ext/icapierr.h
|
31
|
+
- ext/icapi.h
|
32
|
+
- ext/extconf.rb
|
33
|
+
- ext/libICAPI.so
|
34
|
+
has_rdoc: true
|
35
|
+
homepage: ""
|
36
|
+
licenses: []
|
37
|
+
|
38
|
+
post_install_message:
|
39
|
+
rdoc_options: []
|
40
|
+
|
41
|
+
require_paths:
|
42
|
+
- lib
|
43
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 1.9.2
|
49
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: "0"
|
55
|
+
requirements: []
|
56
|
+
|
57
|
+
rubyforge_project:
|
58
|
+
rubygems_version: 1.5.2
|
59
|
+
signing_key:
|
60
|
+
specification_version: 3
|
61
|
+
summary: C bindings for SafeNet DataSecure ICAPI
|
62
|
+
test_files: []
|
63
|
+
|