1 | /* DO NOT EDIT THIS FILE - it is machine generated */ |
2 | #include <jni.h> |
3 | /* Header for class sun_security_pkcs11_wrapper_PKCS11 */ |
4 | |
5 | #ifndef _Included_sun_security_pkcs11_wrapper_PKCS11 |
6 | #define _Included_sun_security_pkcs11_wrapper_PKCS11 |
7 | #ifdef __cplusplus |
8 | extern "C" { |
9 | #endif |
10 | /* |
11 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
12 | * Method: freeMechanism |
13 | * Signature: (J)J |
14 | */ |
15 | JNIEXPORT jlong JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_freeMechanism |
16 | (JNIEnv *, jclass, jlong); |
17 | |
18 | /* |
19 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
20 | * Method: initializeLibrary |
21 | * Signature: (Z)V |
22 | */ |
23 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_initializeLibrary |
24 | (JNIEnv *, jclass, jboolean); |
25 | |
26 | /* |
27 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
28 | * Method: finalizeLibrary |
29 | * Signature: ()V |
30 | */ |
31 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_finalizeLibrary |
32 | (JNIEnv *, jclass); |
33 | |
34 | /* |
35 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
36 | * Method: connect |
37 | * Signature: (Ljava/lang/String;Ljava/lang/String;)V |
38 | */ |
39 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_connect |
40 | (JNIEnv *, jobject, jstring, jstring); |
41 | |
42 | /* |
43 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
44 | * Method: disconnect |
45 | * Signature: ()V |
46 | */ |
47 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_disconnect |
48 | (JNIEnv *, jobject); |
49 | |
50 | /* |
51 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
52 | * Method: C_Initialize |
53 | * Signature: (Ljava/lang/Object;)V |
54 | */ |
55 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1Initialize |
56 | (JNIEnv *, jobject, jobject); |
57 | |
58 | /* |
59 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
60 | * Method: C_Finalize |
61 | * Signature: (Ljava/lang/Object;)V |
62 | */ |
63 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1Finalize |
64 | (JNIEnv *, jobject, jobject); |
65 | |
66 | /* |
67 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
68 | * Method: C_GetInfo |
69 | * Signature: ()Lsun/security/pkcs11/wrapper/CK_INFO; |
70 | */ |
71 | JNIEXPORT jobject JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1GetInfo |
72 | (JNIEnv *, jobject); |
73 | |
74 | /* |
75 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
76 | * Method: C_GetSlotList |
77 | * Signature: (Z)[J |
78 | */ |
79 | JNIEXPORT jlongArray JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1GetSlotList |
80 | (JNIEnv *, jobject, jboolean); |
81 | |
82 | /* |
83 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
84 | * Method: C_GetSlotInfo |
85 | * Signature: (J)Lsun/security/pkcs11/wrapper/CK_SLOT_INFO; |
86 | */ |
87 | JNIEXPORT jobject JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1GetSlotInfo |
88 | (JNIEnv *, jobject, jlong); |
89 | |
90 | /* |
91 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
92 | * Method: C_GetTokenInfo |
93 | * Signature: (J)Lsun/security/pkcs11/wrapper/CK_TOKEN_INFO; |
94 | */ |
95 | JNIEXPORT jobject JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1GetTokenInfo |
96 | (JNIEnv *, jobject, jlong); |
97 | |
98 | /* |
99 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
100 | * Method: C_GetMechanismList |
101 | * Signature: (J)[J |
102 | */ |
103 | JNIEXPORT jlongArray JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1GetMechanismList |
104 | (JNIEnv *, jobject, jlong); |
105 | |
106 | /* |
107 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
108 | * Method: C_GetMechanismInfo |
109 | * Signature: (JJ)Lsun/security/pkcs11/wrapper/CK_MECHANISM_INFO; |
110 | */ |
111 | JNIEXPORT jobject JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1GetMechanismInfo |
112 | (JNIEnv *, jobject, jlong, jlong); |
113 | |
114 | /* |
115 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
116 | * Method: C_OpenSession |
117 | * Signature: (JJLjava/lang/Object;Lsun/security/pkcs11/wrapper/CK_NOTIFY;)J |
118 | */ |
119 | JNIEXPORT jlong JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1OpenSession |
120 | (JNIEnv *, jobject, jlong, jlong, jobject, jobject); |
121 | |
122 | /* |
123 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
124 | * Method: C_CloseSession |
125 | * Signature: (J)V |
126 | */ |
127 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1CloseSession |
128 | (JNIEnv *, jobject, jlong); |
129 | |
130 | /* |
131 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
132 | * Method: C_GetSessionInfo |
133 | * Signature: (J)Lsun/security/pkcs11/wrapper/CK_SESSION_INFO; |
134 | */ |
135 | JNIEXPORT jobject JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1GetSessionInfo |
136 | (JNIEnv *, jobject, jlong); |
137 | |
138 | /* |
139 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
140 | * Method: C_GetOperationState |
141 | * Signature: (J)[B |
142 | */ |
143 | JNIEXPORT jbyteArray JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1GetOperationState |
144 | (JNIEnv *, jobject, jlong); |
145 | |
146 | /* |
147 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
148 | * Method: C_SetOperationState |
149 | * Signature: (J[BJJ)V |
150 | */ |
151 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1SetOperationState |
152 | (JNIEnv *, jobject, jlong, jbyteArray, jlong, jlong); |
153 | |
154 | /* |
155 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
156 | * Method: C_Login |
157 | * Signature: (JJ[C)V |
158 | */ |
159 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1Login |
160 | (JNIEnv *, jobject, jlong, jlong, jcharArray); |
161 | |
162 | /* |
163 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
164 | * Method: C_Logout |
165 | * Signature: (J)V |
166 | */ |
167 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1Logout |
168 | (JNIEnv *, jobject, jlong); |
169 | |
170 | /* |
171 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
172 | * Method: C_CreateObject |
173 | * Signature: (J[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)J |
174 | */ |
175 | JNIEXPORT jlong JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1CreateObject |
176 | (JNIEnv *, jobject, jlong, jobjectArray); |
177 | |
178 | /* |
179 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
180 | * Method: C_CopyObject |
181 | * Signature: (JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)J |
182 | */ |
183 | JNIEXPORT jlong JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1CopyObject |
184 | (JNIEnv *, jobject, jlong, jlong, jobjectArray); |
185 | |
186 | /* |
187 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
188 | * Method: C_DestroyObject |
189 | * Signature: (JJ)V |
190 | */ |
191 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1DestroyObject |
192 | (JNIEnv *, jobject, jlong, jlong); |
193 | |
194 | /* |
195 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
196 | * Method: C_GetAttributeValue |
197 | * Signature: (JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V |
198 | */ |
199 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1GetAttributeValue |
200 | (JNIEnv *, jobject, jlong, jlong, jobjectArray); |
201 | |
202 | /* |
203 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
204 | * Method: C_SetAttributeValue |
205 | * Signature: (JJ[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V |
206 | */ |
207 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1SetAttributeValue |
208 | (JNIEnv *, jobject, jlong, jlong, jobjectArray); |
209 | |
210 | /* |
211 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
212 | * Method: C_FindObjectsInit |
213 | * Signature: (J[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)V |
214 | */ |
215 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1FindObjectsInit |
216 | (JNIEnv *, jobject, jlong, jobjectArray); |
217 | |
218 | /* |
219 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
220 | * Method: C_FindObjects |
221 | * Signature: (JJ)[J |
222 | */ |
223 | JNIEXPORT jlongArray JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1FindObjects |
224 | (JNIEnv *, jobject, jlong, jlong); |
225 | |
226 | /* |
227 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
228 | * Method: C_FindObjectsFinal |
229 | * Signature: (J)V |
230 | */ |
231 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1FindObjectsFinal |
232 | (JNIEnv *, jobject, jlong); |
233 | |
234 | /* |
235 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
236 | * Method: C_EncryptInit |
237 | * Signature: (JLsun/security/pkcs11/wrapper/CK_MECHANISM;J)V |
238 | */ |
239 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1EncryptInit |
240 | (JNIEnv *, jobject, jlong, jobject, jlong); |
241 | |
242 | /* |
243 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
244 | * Method: C_Encrypt |
245 | * Signature: (JJ[BIIJ[BII)I |
246 | */ |
247 | JNIEXPORT jint JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1Encrypt |
248 | (JNIEnv *, jobject, jlong, jlong, jbyteArray, jint, jint, jlong, jbyteArray, jint, jint); |
249 | |
250 | /* |
251 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
252 | * Method: C_EncryptUpdate |
253 | * Signature: (JJ[BIIJ[BII)I |
254 | */ |
255 | JNIEXPORT jint JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1EncryptUpdate |
256 | (JNIEnv *, jobject, jlong, jlong, jbyteArray, jint, jint, jlong, jbyteArray, jint, jint); |
257 | |
258 | /* |
259 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
260 | * Method: C_EncryptFinal |
261 | * Signature: (JJ[BII)I |
262 | */ |
263 | JNIEXPORT jint JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1EncryptFinal |
264 | (JNIEnv *, jobject, jlong, jlong, jbyteArray, jint, jint); |
265 | |
266 | /* |
267 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
268 | * Method: C_DecryptInit |
269 | * Signature: (JLsun/security/pkcs11/wrapper/CK_MECHANISM;J)V |
270 | */ |
271 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1DecryptInit |
272 | (JNIEnv *, jobject, jlong, jobject, jlong); |
273 | |
274 | /* |
275 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
276 | * Method: C_Decrypt |
277 | * Signature: (JJ[BIIJ[BII)I |
278 | */ |
279 | JNIEXPORT jint JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1Decrypt |
280 | (JNIEnv *, jobject, jlong, jlong, jbyteArray, jint, jint, jlong, jbyteArray, jint, jint); |
281 | |
282 | /* |
283 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
284 | * Method: C_DecryptUpdate |
285 | * Signature: (JJ[BIIJ[BII)I |
286 | */ |
287 | JNIEXPORT jint JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1DecryptUpdate |
288 | (JNIEnv *, jobject, jlong, jlong, jbyteArray, jint, jint, jlong, jbyteArray, jint, jint); |
289 | |
290 | /* |
291 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
292 | * Method: C_DecryptFinal |
293 | * Signature: (JJ[BII)I |
294 | */ |
295 | JNIEXPORT jint JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1DecryptFinal |
296 | (JNIEnv *, jobject, jlong, jlong, jbyteArray, jint, jint); |
297 | |
298 | /* |
299 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
300 | * Method: C_DigestInit |
301 | * Signature: (JLsun/security/pkcs11/wrapper/CK_MECHANISM;)V |
302 | */ |
303 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1DigestInit |
304 | (JNIEnv *, jobject, jlong, jobject); |
305 | |
306 | /* |
307 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
308 | * Method: C_DigestSingle |
309 | * Signature: (JLsun/security/pkcs11/wrapper/CK_MECHANISM;[BII[BII)I |
310 | */ |
311 | JNIEXPORT jint JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1DigestSingle |
312 | (JNIEnv *, jobject, jlong, jobject, jbyteArray, jint, jint, jbyteArray, jint, jint); |
313 | |
314 | /* |
315 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
316 | * Method: C_DigestUpdate |
317 | * Signature: (JJ[BII)V |
318 | */ |
319 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1DigestUpdate |
320 | (JNIEnv *, jobject, jlong, jlong, jbyteArray, jint, jint); |
321 | |
322 | /* |
323 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
324 | * Method: C_DigestKey |
325 | * Signature: (JJ)V |
326 | */ |
327 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1DigestKey |
328 | (JNIEnv *, jobject, jlong, jlong); |
329 | |
330 | /* |
331 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
332 | * Method: C_DigestFinal |
333 | * Signature: (J[BII)I |
334 | */ |
335 | JNIEXPORT jint JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1DigestFinal |
336 | (JNIEnv *, jobject, jlong, jbyteArray, jint, jint); |
337 | |
338 | /* |
339 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
340 | * Method: C_SignInit |
341 | * Signature: (JLsun/security/pkcs11/wrapper/CK_MECHANISM;J)V |
342 | */ |
343 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1SignInit |
344 | (JNIEnv *, jobject, jlong, jobject, jlong); |
345 | |
346 | /* |
347 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
348 | * Method: C_Sign |
349 | * Signature: (J[B)[B |
350 | */ |
351 | JNIEXPORT jbyteArray JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1Sign |
352 | (JNIEnv *, jobject, jlong, jbyteArray); |
353 | |
354 | /* |
355 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
356 | * Method: C_SignUpdate |
357 | * Signature: (JJ[BII)V |
358 | */ |
359 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1SignUpdate |
360 | (JNIEnv *, jobject, jlong, jlong, jbyteArray, jint, jint); |
361 | |
362 | /* |
363 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
364 | * Method: C_SignFinal |
365 | * Signature: (JI)[B |
366 | */ |
367 | JNIEXPORT jbyteArray JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1SignFinal |
368 | (JNIEnv *, jobject, jlong, jint); |
369 | |
370 | /* |
371 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
372 | * Method: C_SignRecoverInit |
373 | * Signature: (JLsun/security/pkcs11/wrapper/CK_MECHANISM;J)V |
374 | */ |
375 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1SignRecoverInit |
376 | (JNIEnv *, jobject, jlong, jobject, jlong); |
377 | |
378 | /* |
379 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
380 | * Method: C_SignRecover |
381 | * Signature: (J[BII[BII)I |
382 | */ |
383 | JNIEXPORT jint JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1SignRecover |
384 | (JNIEnv *, jobject, jlong, jbyteArray, jint, jint, jbyteArray, jint, jint); |
385 | |
386 | /* |
387 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
388 | * Method: C_VerifyInit |
389 | * Signature: (JLsun/security/pkcs11/wrapper/CK_MECHANISM;J)V |
390 | */ |
391 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1VerifyInit |
392 | (JNIEnv *, jobject, jlong, jobject, jlong); |
393 | |
394 | /* |
395 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
396 | * Method: C_Verify |
397 | * Signature: (J[B[B)V |
398 | */ |
399 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1Verify |
400 | (JNIEnv *, jobject, jlong, jbyteArray, jbyteArray); |
401 | |
402 | /* |
403 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
404 | * Method: C_VerifyUpdate |
405 | * Signature: (JJ[BII)V |
406 | */ |
407 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1VerifyUpdate |
408 | (JNIEnv *, jobject, jlong, jlong, jbyteArray, jint, jint); |
409 | |
410 | /* |
411 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
412 | * Method: C_VerifyFinal |
413 | * Signature: (J[B)V |
414 | */ |
415 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1VerifyFinal |
416 | (JNIEnv *, jobject, jlong, jbyteArray); |
417 | |
418 | /* |
419 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
420 | * Method: C_VerifyRecoverInit |
421 | * Signature: (JLsun/security/pkcs11/wrapper/CK_MECHANISM;J)V |
422 | */ |
423 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1VerifyRecoverInit |
424 | (JNIEnv *, jobject, jlong, jobject, jlong); |
425 | |
426 | /* |
427 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
428 | * Method: C_VerifyRecover |
429 | * Signature: (J[BII[BII)I |
430 | */ |
431 | JNIEXPORT jint JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1VerifyRecover |
432 | (JNIEnv *, jobject, jlong, jbyteArray, jint, jint, jbyteArray, jint, jint); |
433 | |
434 | /* |
435 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
436 | * Method: getNativeKeyInfo |
437 | * Signature: (JJJLsun/security/pkcs11/wrapper/CK_MECHANISM;)[B |
438 | */ |
439 | JNIEXPORT jbyteArray JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_getNativeKeyInfo |
440 | (JNIEnv *, jobject, jlong, jlong, jlong, jobject); |
441 | |
442 | /* |
443 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
444 | * Method: createNativeKey |
445 | * Signature: (J[BJLsun/security/pkcs11/wrapper/CK_MECHANISM;)J |
446 | */ |
447 | JNIEXPORT jlong JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_createNativeKey |
448 | (JNIEnv *, jobject, jlong, jbyteArray, jlong, jobject); |
449 | |
450 | /* |
451 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
452 | * Method: C_GenerateKey |
453 | * Signature: (JLsun/security/pkcs11/wrapper/CK_MECHANISM;[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)J |
454 | */ |
455 | JNIEXPORT jlong JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1GenerateKey |
456 | (JNIEnv *, jobject, jlong, jobject, jobjectArray); |
457 | |
458 | /* |
459 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
460 | * Method: C_GenerateKeyPair |
461 | * Signature: (JLsun/security/pkcs11/wrapper/CK_MECHANISM;[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)[J |
462 | */ |
463 | JNIEXPORT jlongArray JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1GenerateKeyPair |
464 | (JNIEnv *, jobject, jlong, jobject, jobjectArray, jobjectArray); |
465 | |
466 | /* |
467 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
468 | * Method: C_WrapKey |
469 | * Signature: (JLsun/security/pkcs11/wrapper/CK_MECHANISM;JJ)[B |
470 | */ |
471 | JNIEXPORT jbyteArray JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1WrapKey |
472 | (JNIEnv *, jobject, jlong, jobject, jlong, jlong); |
473 | |
474 | /* |
475 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
476 | * Method: C_UnwrapKey |
477 | * Signature: (JLsun/security/pkcs11/wrapper/CK_MECHANISM;J[B[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)J |
478 | */ |
479 | JNIEXPORT jlong JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1UnwrapKey |
480 | (JNIEnv *, jobject, jlong, jobject, jlong, jbyteArray, jobjectArray); |
481 | |
482 | /* |
483 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
484 | * Method: C_DeriveKey |
485 | * Signature: (JLsun/security/pkcs11/wrapper/CK_MECHANISM;J[Lsun/security/pkcs11/wrapper/CK_ATTRIBUTE;)J |
486 | */ |
487 | JNIEXPORT jlong JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1DeriveKey |
488 | (JNIEnv *, jobject, jlong, jobject, jlong, jobjectArray); |
489 | |
490 | /* |
491 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
492 | * Method: C_SeedRandom |
493 | * Signature: (J[B)V |
494 | */ |
495 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1SeedRandom |
496 | (JNIEnv *, jobject, jlong, jbyteArray); |
497 | |
498 | /* |
499 | * Class: sun_security_pkcs11_wrapper_PKCS11 |
500 | * Method: C_GenerateRandom |
501 | * Signature: (J[B)V |
502 | */ |
503 | JNIEXPORT void JNICALL Java_sun_security_pkcs11_wrapper_PKCS11_C_1GenerateRandom |
504 | (JNIEnv *, jobject, jlong, jbyteArray); |
505 | |
506 | #ifdef __cplusplus |
507 | } |
508 | #endif |
509 | #endif |
510 | |