roostify_pkcs11_luna 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,650 @@
1
+ class PKCS11::Luna::CK_VERSION < PKCS11::Luna::CStruct
2
+ # Size of corresponding C struct in bytes
3
+ SIZEOF_STRUCT=Integer
4
+ # @return [String] Binary copy of the C struct
5
+ def to_s; end
6
+ # @return [Array<String>] Attributes of this struct
7
+ def members; end
8
+ # @return [Integer] accessor for major (CK_BYTE)
9
+ attr_accessor :major
10
+ # @return [Integer] accessor for minor (CK_BYTE)
11
+ attr_accessor :minor
12
+ end
13
+ class PKCS11::Luna::CK_INFO < PKCS11::Luna::CStruct
14
+ # Size of corresponding C struct in bytes
15
+ SIZEOF_STRUCT=Integer
16
+ # @return [String] Binary copy of the C struct
17
+ def to_s; end
18
+ # @return [Array<String>] Attributes of this struct
19
+ def members; end
20
+ # @return [PKCS11::Luna::CK_VERSION] inline struct
21
+ attr_accessor :cryptokiVersion
22
+ # @return [String] accessor for manufacturerID (max 32 bytes)
23
+ attr_accessor :manufacturerID
24
+ # @return [Integer] accessor for flags (CK_ULONG)
25
+ attr_accessor :flags
26
+ # @return [String] accessor for libraryDescription (max 32 bytes)
27
+ attr_accessor :libraryDescription
28
+ # @return [PKCS11::Luna::CK_VERSION] inline struct
29
+ attr_accessor :libraryVersion
30
+ end
31
+ class PKCS11::Luna::CK_SLOT_INFO < PKCS11::Luna::CStruct
32
+ # Size of corresponding C struct in bytes
33
+ SIZEOF_STRUCT=Integer
34
+ # @return [String] Binary copy of the C struct
35
+ def to_s; end
36
+ # @return [Array<String>] Attributes of this struct
37
+ def members; end
38
+ # @return [String] accessor for slotDescription (max 64 bytes)
39
+ attr_accessor :slotDescription
40
+ # @return [String] accessor for manufacturerID (max 32 bytes)
41
+ attr_accessor :manufacturerID
42
+ # @return [Integer] accessor for flags (CK_ULONG)
43
+ attr_accessor :flags
44
+ # @return [PKCS11::Luna::CK_VERSION] inline struct
45
+ attr_accessor :hardwareVersion
46
+ # @return [PKCS11::Luna::CK_VERSION] inline struct
47
+ attr_accessor :firmwareVersion
48
+ end
49
+ class PKCS11::Luna::CK_TOKEN_INFO < PKCS11::Luna::CStruct
50
+ # Size of corresponding C struct in bytes
51
+ SIZEOF_STRUCT=Integer
52
+ # @return [String] Binary copy of the C struct
53
+ def to_s; end
54
+ # @return [Array<String>] Attributes of this struct
55
+ def members; end
56
+ # @return [String] accessor for label (max 32 bytes)
57
+ attr_accessor :label
58
+ # @return [String] accessor for manufacturerID (max 32 bytes)
59
+ attr_accessor :manufacturerID
60
+ # @return [String] accessor for model (max 16 bytes)
61
+ attr_accessor :model
62
+ # @return [String] accessor for serialNumber (max 16 bytes)
63
+ attr_accessor :serialNumber
64
+ # @return [Integer] accessor for flags (CK_ULONG)
65
+ attr_accessor :flags
66
+ # @return [Integer] accessor for ulMaxSessionCount (CK_ULONG)
67
+ attr_accessor :ulMaxSessionCount
68
+ # @return [Integer] accessor for ulSessionCount (CK_ULONG)
69
+ attr_accessor :ulSessionCount
70
+ # @return [Integer] accessor for ulMaxRwSessionCount (CK_ULONG)
71
+ attr_accessor :ulMaxRwSessionCount
72
+ # @return [Integer] accessor for ulRwSessionCount (CK_ULONG)
73
+ attr_accessor :ulRwSessionCount
74
+ # @return [Integer] accessor for ulMaxPinLen (CK_ULONG)
75
+ attr_accessor :ulMaxPinLen
76
+ # @return [Integer] accessor for ulMinPinLen (CK_ULONG)
77
+ attr_accessor :ulMinPinLen
78
+ # @return [Integer] accessor for ulTotalPublicMemory (CK_ULONG)
79
+ attr_accessor :ulTotalPublicMemory
80
+ # @return [Integer] accessor for ulFreePublicMemory (CK_ULONG)
81
+ attr_accessor :ulFreePublicMemory
82
+ # @return [Integer] accessor for ulTotalPrivateMemory (CK_ULONG)
83
+ attr_accessor :ulTotalPrivateMemory
84
+ # @return [Integer] accessor for ulFreePrivateMemory (CK_ULONG)
85
+ attr_accessor :ulFreePrivateMemory
86
+ # @return [PKCS11::Luna::CK_VERSION] inline struct
87
+ attr_accessor :hardwareVersion
88
+ # @return [PKCS11::Luna::CK_VERSION] inline struct
89
+ attr_accessor :firmwareVersion
90
+ # @return [String] accessor for utcTime (max 16 bytes)
91
+ attr_accessor :utcTime
92
+ end
93
+ class PKCS11::Luna::CK_SESSION_INFO < PKCS11::Luna::CStruct
94
+ # Size of corresponding C struct in bytes
95
+ SIZEOF_STRUCT=Integer
96
+ # @return [String] Binary copy of the C struct
97
+ def to_s; end
98
+ # @return [Array<String>] Attributes of this struct
99
+ def members; end
100
+ # @return [Integer] accessor for slotID (CK_ULONG)
101
+ attr_accessor :slotID
102
+ # @return [Integer] accessor for state (CK_ULONG)
103
+ attr_accessor :state
104
+ # @return [Integer] accessor for flags (CK_ULONG)
105
+ attr_accessor :flags
106
+ # @return [Integer] accessor for ulDeviceError (CK_ULONG)
107
+ attr_accessor :ulDeviceError
108
+ end
109
+ class PKCS11::Luna::CK_DATE < PKCS11::Luna::CStruct
110
+ # Size of corresponding C struct in bytes
111
+ SIZEOF_STRUCT=Integer
112
+ # @return [String] Binary copy of the C struct
113
+ def to_s; end
114
+ # @return [Array<String>] Attributes of this struct
115
+ def members; end
116
+ # @return [String] accessor for year (max 4 bytes)
117
+ attr_accessor :year
118
+ # @return [String] accessor for month (max 2 bytes)
119
+ attr_accessor :month
120
+ # @return [String] accessor for day (max 2 bytes)
121
+ attr_accessor :day
122
+ end
123
+ class PKCS11::Luna::CK_MECHANISM_INFO < PKCS11::Luna::CStruct
124
+ # Size of corresponding C struct in bytes
125
+ SIZEOF_STRUCT=Integer
126
+ # @return [String] Binary copy of the C struct
127
+ def to_s; end
128
+ # @return [Array<String>] Attributes of this struct
129
+ def members; end
130
+ # @return [Integer] accessor for ulMinKeySize (CK_ULONG)
131
+ attr_accessor :ulMinKeySize
132
+ # @return [Integer] accessor for ulMaxKeySize (CK_ULONG)
133
+ attr_accessor :ulMaxKeySize
134
+ # @return [Integer] accessor for flags (CK_ULONG)
135
+ attr_accessor :flags
136
+ end
137
+ class PKCS11::Luna::CK_C_INITIALIZE_ARGS < PKCS11::Luna::CStruct
138
+ # Size of corresponding C struct in bytes
139
+ SIZEOF_STRUCT=Integer
140
+ # @return [String] Binary copy of the C struct
141
+ def to_s; end
142
+ # @return [Array<String>] Attributes of this struct
143
+ def members; end
144
+ # @return [String, nil] accessor for pReserved
145
+ attr_accessor :pReserved
146
+ # @return [Integer] accessor for flags (CK_ULONG)
147
+ attr_accessor :flags
148
+ end
149
+ class PKCS11::Luna::CK_RSA_PKCS_OAEP_PARAMS < PKCS11::Luna::CStruct
150
+ # Size of corresponding C struct in bytes
151
+ SIZEOF_STRUCT=Integer
152
+ # @return [String] Binary copy of the C struct
153
+ def to_s; end
154
+ # @return [Array<String>] Attributes of this struct
155
+ def members; end
156
+ # @return [String, nil] accessor for pSourceData and ulSourceDataLen
157
+ attr_accessor :pSourceData
158
+ # @return [Integer] accessor for hashAlg (CK_ULONG)
159
+ attr_accessor :hashAlg
160
+ # @return [Integer] accessor for mgf (CK_ULONG)
161
+ attr_accessor :mgf
162
+ # @return [Integer] accessor for source (CK_ULONG)
163
+ attr_accessor :source
164
+ end
165
+ class PKCS11::Luna::CK_RSA_PKCS_PSS_PARAMS < PKCS11::Luna::CStruct
166
+ # Size of corresponding C struct in bytes
167
+ SIZEOF_STRUCT=Integer
168
+ # @return [String] Binary copy of the C struct
169
+ def to_s; end
170
+ # @return [Array<String>] Attributes of this struct
171
+ def members; end
172
+ # @return [Integer] accessor for hashAlg (CK_ULONG)
173
+ attr_accessor :hashAlg
174
+ # @return [Integer] accessor for mgf (CK_ULONG)
175
+ attr_accessor :mgf
176
+ # @return [Integer] accessor for sLen (CK_ULONG)
177
+ attr_accessor :sLen
178
+ end
179
+ class PKCS11::Luna::CK_KEA_DERIVE_PARAMS < PKCS11::Luna::CStruct
180
+ # Size of corresponding C struct in bytes
181
+ SIZEOF_STRUCT=Integer
182
+ # @return [String] Binary copy of the C struct
183
+ def to_s; end
184
+ # @return [Array<String>] Attributes of this struct
185
+ def members; end
186
+ # @return [String, nil] accessor for pRandomA
187
+ attr_accessor :pRandomA
188
+ # @return [String, nil] accessor for pRandomB
189
+ attr_accessor :pRandomB
190
+ # @return [String, nil] accessor for pPublicData and ulPublicDataLen
191
+ attr_accessor :pPublicData
192
+ # @return [Boolean] Bool value
193
+ attr_accessor :isSender
194
+ # @return [Integer] accessor for ulRandomLen (CK_ULONG)
195
+ attr_accessor :ulRandomLen
196
+ end
197
+ class PKCS11::Luna::CK_RC2_CBC_PARAMS < PKCS11::Luna::CStruct
198
+ # Size of corresponding C struct in bytes
199
+ SIZEOF_STRUCT=Integer
200
+ # @return [String] Binary copy of the C struct
201
+ def to_s; end
202
+ # @return [Array<String>] Attributes of this struct
203
+ def members; end
204
+ # @return [Integer] accessor for ulEffectiveBits (CK_ULONG)
205
+ attr_accessor :ulEffectiveBits
206
+ # @return [String] accessor for iv (max 8 bytes)
207
+ attr_accessor :iv
208
+ end
209
+ class PKCS11::Luna::CK_RC2_MAC_GENERAL_PARAMS < PKCS11::Luna::CStruct
210
+ # Size of corresponding C struct in bytes
211
+ SIZEOF_STRUCT=Integer
212
+ # @return [String] Binary copy of the C struct
213
+ def to_s; end
214
+ # @return [Array<String>] Attributes of this struct
215
+ def members; end
216
+ # @return [Integer] accessor for ulEffectiveBits (CK_ULONG)
217
+ attr_accessor :ulEffectiveBits
218
+ # @return [Integer] accessor for ulMacLength (CK_ULONG)
219
+ attr_accessor :ulMacLength
220
+ end
221
+ class PKCS11::Luna::CK_RC5_PARAMS < PKCS11::Luna::CStruct
222
+ # Size of corresponding C struct in bytes
223
+ SIZEOF_STRUCT=Integer
224
+ # @return [String] Binary copy of the C struct
225
+ def to_s; end
226
+ # @return [Array<String>] Attributes of this struct
227
+ def members; end
228
+ # @return [Integer] accessor for ulWordsize (CK_ULONG)
229
+ attr_accessor :ulWordsize
230
+ # @return [Integer] accessor for ulRounds (CK_ULONG)
231
+ attr_accessor :ulRounds
232
+ end
233
+ class PKCS11::Luna::CK_RC5_CBC_PARAMS < PKCS11::Luna::CStruct
234
+ # Size of corresponding C struct in bytes
235
+ SIZEOF_STRUCT=Integer
236
+ # @return [String] Binary copy of the C struct
237
+ def to_s; end
238
+ # @return [Array<String>] Attributes of this struct
239
+ def members; end
240
+ # @return [String, nil] accessor for pIv and ulIvLen
241
+ attr_accessor :pIv
242
+ # @return [Integer] accessor for ulWordsize (CK_ULONG)
243
+ attr_accessor :ulWordsize
244
+ # @return [Integer] accessor for ulRounds (CK_ULONG)
245
+ attr_accessor :ulRounds
246
+ end
247
+ class PKCS11::Luna::CK_RC5_MAC_GENERAL_PARAMS < PKCS11::Luna::CStruct
248
+ # Size of corresponding C struct in bytes
249
+ SIZEOF_STRUCT=Integer
250
+ # @return [String] Binary copy of the C struct
251
+ def to_s; end
252
+ # @return [Array<String>] Attributes of this struct
253
+ def members; end
254
+ # @return [Integer] accessor for ulWordsize (CK_ULONG)
255
+ attr_accessor :ulWordsize
256
+ # @return [Integer] accessor for ulRounds (CK_ULONG)
257
+ attr_accessor :ulRounds
258
+ # @return [Integer] accessor for ulMacLength (CK_ULONG)
259
+ attr_accessor :ulMacLength
260
+ end
261
+ class PKCS11::Luna::CK_SKIPJACK_PRIVATE_WRAP_PARAMS < PKCS11::Luna::CStruct
262
+ # Size of corresponding C struct in bytes
263
+ SIZEOF_STRUCT=Integer
264
+ # @return [String] Binary copy of the C struct
265
+ def to_s; end
266
+ # @return [Array<String>] Attributes of this struct
267
+ def members; end
268
+ # @return [String, nil] accessor for pPassword and ulPasswordLen
269
+ attr_accessor :pPassword
270
+ # @return [String, nil] accessor for pPublicData and ulPublicDataLen
271
+ attr_accessor :pPublicData
272
+ # @return [String, nil] accessor for pRandomA
273
+ attr_accessor :pRandomA
274
+ # @return [String, nil] accessor for pPrimeP
275
+ attr_accessor :pPrimeP
276
+ # @return [String, nil] accessor for pBaseG
277
+ attr_accessor :pBaseG
278
+ # @return [String, nil] accessor for pSubprimeQ
279
+ attr_accessor :pSubprimeQ
280
+ # @return [Integer] accessor for ulPAndGLen (CK_ULONG)
281
+ attr_accessor :ulPAndGLen
282
+ # @return [Integer] accessor for ulQLen (CK_ULONG)
283
+ attr_accessor :ulQLen
284
+ # @return [Integer] accessor for ulRandomLen (CK_ULONG)
285
+ attr_accessor :ulRandomLen
286
+ end
287
+ class PKCS11::Luna::CK_SKIPJACK_RELAYX_PARAMS < PKCS11::Luna::CStruct
288
+ # Size of corresponding C struct in bytes
289
+ SIZEOF_STRUCT=Integer
290
+ # @return [String] Binary copy of the C struct
291
+ def to_s; end
292
+ # @return [Array<String>] Attributes of this struct
293
+ def members; end
294
+ # @return [String, nil] accessor for pOldWrappedX and ulOldWrappedXLen
295
+ attr_accessor :pOldWrappedX
296
+ # @return [String, nil] accessor for pOldPassword and ulOldPasswordLen
297
+ attr_accessor :pOldPassword
298
+ # @return [String, nil] accessor for pOldPublicData and ulOldPublicDataLen
299
+ attr_accessor :pOldPublicData
300
+ # @return [String, nil] accessor for pOldRandomA
301
+ attr_accessor :pOldRandomA
302
+ # @return [String, nil] accessor for pNewPassword and ulNewPasswordLen
303
+ attr_accessor :pNewPassword
304
+ # @return [String, nil] accessor for pNewPublicData and ulNewPublicDataLen
305
+ attr_accessor :pNewPublicData
306
+ # @return [String, nil] accessor for pNewRandomA
307
+ attr_accessor :pNewRandomA
308
+ # @return [Integer] accessor for ulOldRandomLen (CK_ULONG)
309
+ attr_accessor :ulOldRandomLen
310
+ # @return [Integer] accessor for ulNewRandomLen (CK_ULONG)
311
+ attr_accessor :ulNewRandomLen
312
+ end
313
+ class PKCS11::Luna::CK_PBE_PARAMS < PKCS11::Luna::CStruct
314
+ # Size of corresponding C struct in bytes
315
+ SIZEOF_STRUCT=Integer
316
+ # @return [String] Binary copy of the C struct
317
+ def to_s; end
318
+ # @return [Array<String>] Attributes of this struct
319
+ def members; end
320
+ # @return [String, nil] accessor for pInitVector
321
+ attr_accessor :pInitVector
322
+ # @return [String, nil] accessor for pPassword and ulPasswordLen
323
+ attr_accessor :pPassword
324
+ # @return [String, nil] accessor for pSalt and ulSaltLen
325
+ attr_accessor :pSalt
326
+ # @return [Integer] accessor for ulIteration (CK_ULONG)
327
+ attr_accessor :ulIteration
328
+ end
329
+ class PKCS11::Luna::CK_KEY_WRAP_SET_OAEP_PARAMS < PKCS11::Luna::CStruct
330
+ # Size of corresponding C struct in bytes
331
+ SIZEOF_STRUCT=Integer
332
+ # @return [String] Binary copy of the C struct
333
+ def to_s; end
334
+ # @return [Array<String>] Attributes of this struct
335
+ def members; end
336
+ # @return [String, nil] accessor for pX and ulXLen
337
+ attr_accessor :pX
338
+ # @return [Integer] accessor for bBC (CK_BYTE)
339
+ attr_accessor :bBC
340
+ end
341
+ class PKCS11::Luna::CK_SSL3_RANDOM_DATA < PKCS11::Luna::CStruct
342
+ # Size of corresponding C struct in bytes
343
+ SIZEOF_STRUCT=Integer
344
+ # @return [String] Binary copy of the C struct
345
+ def to_s; end
346
+ # @return [Array<String>] Attributes of this struct
347
+ def members; end
348
+ # @return [String, nil] accessor for pClientRandom and ulClientRandomLen
349
+ attr_accessor :pClientRandom
350
+ # @return [String, nil] accessor for pServerRandom and ulServerRandomLen
351
+ attr_accessor :pServerRandom
352
+ end
353
+ class PKCS11::Luna::CK_SSL3_MASTER_KEY_DERIVE_PARAMS < PKCS11::Luna::CStruct
354
+ # Size of corresponding C struct in bytes
355
+ SIZEOF_STRUCT=Integer
356
+ # @return [String] Binary copy of the C struct
357
+ def to_s; end
358
+ # @return [Array<String>] Attributes of this struct
359
+ def members; end
360
+ # @return [PKCS11::Luna::CK_SSL3_RANDOM_DATA] inline struct
361
+ attr_accessor :RandomInfo
362
+ # @return [PKCS11::Luna::CK_VERSION, nil] pointer to struct
363
+ attr_accessor :pVersion
364
+ end
365
+ class PKCS11::Luna::CK_SSL3_KEY_MAT_OUT < PKCS11::Luna::CStruct
366
+ # Size of corresponding C struct in bytes
367
+ SIZEOF_STRUCT=Integer
368
+ # @return [String] Binary copy of the C struct
369
+ def to_s; end
370
+ # @return [Array<String>] Attributes of this struct
371
+ def members; end
372
+ # @return [String, nil] accessor for pIVClient
373
+ attr_accessor :pIVClient
374
+ # @return [String, nil] accessor for pIVServer
375
+ attr_accessor :pIVServer
376
+ # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
377
+ attr_accessor :hClientMacSecret
378
+ # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
379
+ attr_accessor :hServerMacSecret
380
+ # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
381
+ attr_accessor :hClientKey
382
+ # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
383
+ attr_accessor :hServerKey
384
+ end
385
+ class PKCS11::Luna::CK_SSL3_KEY_MAT_PARAMS < PKCS11::Luna::CStruct
386
+ # Size of corresponding C struct in bytes
387
+ SIZEOF_STRUCT=Integer
388
+ # @return [String] Binary copy of the C struct
389
+ def to_s; end
390
+ # @return [Array<String>] Attributes of this struct
391
+ def members; end
392
+ # @return [Integer] accessor for ulMacSizeInBits (CK_ULONG)
393
+ attr_accessor :ulMacSizeInBits
394
+ # @return [Integer] accessor for ulKeySizeInBits (CK_ULONG)
395
+ attr_accessor :ulKeySizeInBits
396
+ # @return [Integer] accessor for ulIVSizeInBits (CK_ULONG)
397
+ attr_accessor :ulIVSizeInBits
398
+ # @return [Boolean] Bool value
399
+ attr_accessor :bIsExport
400
+ # @return [PKCS11::Luna::CK_SSL3_RANDOM_DATA] inline struct
401
+ attr_accessor :RandomInfo
402
+ # @return [PKCS11::Luna::CK_SSL3_KEY_MAT_OUT, nil] pointer to struct
403
+ attr_accessor :pReturnedKeyMaterial
404
+ end
405
+ class PKCS11::Luna::CK_KEY_DERIVATION_STRING_DATA < PKCS11::Luna::CStruct
406
+ # Size of corresponding C struct in bytes
407
+ SIZEOF_STRUCT=Integer
408
+ # @return [String] Binary copy of the C struct
409
+ def to_s; end
410
+ # @return [Array<String>] Attributes of this struct
411
+ def members; end
412
+ # @return [String, nil] accessor for pData and ulLen
413
+ attr_accessor :pData
414
+ end
415
+ class PKCS11::Luna::CK_PKCS5_PBKD2_PARAMS < PKCS11::Luna::CStruct
416
+ # Size of corresponding C struct in bytes
417
+ SIZEOF_STRUCT=Integer
418
+ # @return [String] Binary copy of the C struct
419
+ def to_s; end
420
+ # @return [Array<String>] Attributes of this struct
421
+ def members; end
422
+ # @return [String, nil] accessor for pSaltSourceData and ulSaltSourceDataLen
423
+ attr_accessor :pSaltSourceData
424
+ # @return [String, nil] accessor for pPrfData and ulPrfDataLen
425
+ attr_accessor :pPrfData
426
+ # @return [String, nil] accessor for pPassword
427
+ attr_accessor :pPassword
428
+ # @return [Integer] accessor for saltSource (CK_ULONG)
429
+ attr_accessor :saltSource
430
+ # @return [Integer] accessor for iterations (CK_ULONG)
431
+ attr_accessor :iterations
432
+ # @return [Integer] accessor for prf (CK_ULONG)
433
+ attr_accessor :prf
434
+ # @return [Integer, nil] accessor for ulPasswordLen (CK_ULONG_PTR)
435
+ attr_accessor :ulPasswordLen
436
+ end
437
+ class PKCS11::Luna::CK_AES_GCM_PARAMS < PKCS11::Luna::CStruct
438
+ # Size of corresponding C struct in bytes
439
+ SIZEOF_STRUCT=Integer
440
+ # @return [String] Binary copy of the C struct
441
+ def to_s; end
442
+ # @return [Array<String>] Attributes of this struct
443
+ def members; end
444
+ # @return [String, nil] accessor for pIv and ulIvLen
445
+ attr_accessor :pIv
446
+ # @return [String, nil] accessor for pAAD and ulAADLen
447
+ attr_accessor :pAAD
448
+ # @return [Integer] accessor for ulIvBits (CK_ULONG)
449
+ attr_accessor :ulIvBits
450
+ # @return [Integer] accessor for ulTagBits (CK_ULONG)
451
+ attr_accessor :ulTagBits
452
+ end
453
+ class PKCS11::Luna::CK_XOR_BASE_DATA_KDF_PARAMS < PKCS11::Luna::CStruct
454
+ # Size of corresponding C struct in bytes
455
+ SIZEOF_STRUCT=Integer
456
+ # @return [String] Binary copy of the C struct
457
+ def to_s; end
458
+ # @return [Array<String>] Attributes of this struct
459
+ def members; end
460
+ # @return [String, nil] accessor for pSharedData and ulSharedDataLen
461
+ attr_accessor :pSharedData
462
+ # @return [Integer] accessor for kdf (CK_ULONG)
463
+ attr_accessor :kdf
464
+ end
465
+ class PKCS11::Luna::CK_ECIES_PARAMS < PKCS11::Luna::CStruct
466
+ # Size of corresponding C struct in bytes
467
+ SIZEOF_STRUCT=Integer
468
+ # @return [String] Binary copy of the C struct
469
+ def to_s; end
470
+ # @return [Array<String>] Attributes of this struct
471
+ def members; end
472
+ # @return [String, nil] accessor for pSharedData1
473
+ attr_accessor :pSharedData1
474
+ # @return [String, nil] accessor for pSharedData2
475
+ attr_accessor :pSharedData2
476
+ # @return [Integer] accessor for dhPrimitive (CK_ULONG)
477
+ attr_accessor :dhPrimitive
478
+ # @return [Integer] accessor for kdf (CK_ULONG)
479
+ attr_accessor :kdf
480
+ # @return [Integer] accessor for ulSharedDataLen1 (CK_ULONG)
481
+ attr_accessor :ulSharedDataLen1
482
+ # @return [Integer] accessor for encScheme (CK_ULONG)
483
+ attr_accessor :encScheme
484
+ # @return [Integer] accessor for ulEncKeyLenInBits (CK_ULONG)
485
+ attr_accessor :ulEncKeyLenInBits
486
+ # @return [Integer] accessor for macScheme (CK_ULONG)
487
+ attr_accessor :macScheme
488
+ # @return [Integer] accessor for ulMacKeyLenInBits (CK_ULONG)
489
+ attr_accessor :ulMacKeyLenInBits
490
+ # @return [Integer] accessor for ulMacLenInBits (CK_ULONG)
491
+ attr_accessor :ulMacLenInBits
492
+ # @return [Integer] accessor for ulSharedDataLen2 (CK_ULONG)
493
+ attr_accessor :ulSharedDataLen2
494
+ end
495
+ class PKCS11::Luna::CK_PRF_KDF_PARAMS < PKCS11::Luna::CStruct
496
+ # Size of corresponding C struct in bytes
497
+ SIZEOF_STRUCT=Integer
498
+ # @return [String] Binary copy of the C struct
499
+ def to_s; end
500
+ # @return [Array<String>] Attributes of this struct
501
+ def members; end
502
+ # @return [String, nil] accessor for pLabel and ulLabelLen
503
+ attr_accessor :pLabel
504
+ # @return [String, nil] accessor for pContext and ulContextLen
505
+ attr_accessor :pContext
506
+ # @return [Integer] accessor for prfType (CK_ULONG)
507
+ attr_accessor :prfType
508
+ # @return [Integer] accessor for ulCounter (CK_ULONG)
509
+ attr_accessor :ulCounter
510
+ # @return [Integer] accessor for ulEncodingScheme (CK_ULONG)
511
+ attr_accessor :ulEncodingScheme
512
+ end
513
+ class PKCS11::Luna::CK_DES_CTR_PARAMS < PKCS11::Luna::CStruct
514
+ # Size of corresponding C struct in bytes
515
+ SIZEOF_STRUCT=Integer
516
+ # @return [String] Binary copy of the C struct
517
+ def to_s; end
518
+ # @return [Array<String>] Attributes of this struct
519
+ def members; end
520
+ # @return [Integer] accessor for ulCounterBits (CK_ULONG)
521
+ attr_accessor :ulCounterBits
522
+ # @return [String] accessor for cb (max 8 bytes)
523
+ attr_accessor :cb
524
+ end
525
+ class PKCS11::Luna::CA_MOFN_STATUS < PKCS11::Luna::CStruct
526
+ # Size of corresponding C struct in bytes
527
+ SIZEOF_STRUCT=Integer
528
+ # @return [String] Binary copy of the C struct
529
+ def to_s; end
530
+ # @return [Array<String>] Attributes of this struct
531
+ def members; end
532
+ # @return [Integer] accessor for ulID (CK_ULONG)
533
+ attr_accessor :ulID
534
+ # @return [Integer] accessor for ulM (CK_ULONG)
535
+ attr_accessor :ulM
536
+ # @return [Integer] accessor for ulN (CK_ULONG)
537
+ attr_accessor :ulN
538
+ # @return [Integer] accessor for ulSecretSize (CK_ULONG)
539
+ attr_accessor :ulSecretSize
540
+ # @return [Integer] accessor for ulFlag (CK_ULONG)
541
+ attr_accessor :ulFlag
542
+ end
543
+ class PKCS11::Luna::CKCA_MODULE_INFO < PKCS11::Luna::CStruct
544
+ # Size of corresponding C struct in bytes
545
+ SIZEOF_STRUCT=Integer
546
+ # @return [String] Binary copy of the C struct
547
+ def to_s; end
548
+ # @return [Array<String>] Attributes of this struct
549
+ def members; end
550
+ # @return [Integer] accessor for ulModuleSize (CK_ULONG)
551
+ attr_accessor :ulModuleSize
552
+ # @return [String] accessor for developerName (max 32 bytes)
553
+ attr_accessor :developerName
554
+ # @return [String] accessor for moduleDescription (max 32 bytes)
555
+ attr_accessor :moduleDescription
556
+ # @return [PKCS11::Luna::CK_VERSION] inline struct
557
+ attr_accessor :moduleVersion
558
+ end
559
+ class PKCS11::Luna::CK_HA_MEMBER < PKCS11::Luna::CStruct
560
+ # Size of corresponding C struct in bytes
561
+ SIZEOF_STRUCT=Integer
562
+ # @return [String] Binary copy of the C struct
563
+ def to_s; end
564
+ # @return [Array<String>] Attributes of this struct
565
+ def members; end
566
+ # @return [Integer] accessor for memberSerial (CK_ULONG)
567
+ attr_accessor :memberSerial
568
+ # @return [Integer] accessor for memberStatus (CK_ULONG)
569
+ attr_accessor :memberStatus
570
+ end
571
+ class PKCS11::Luna::CK_HA_STATUS < PKCS11::Luna::CStruct
572
+ # Size of corresponding C struct in bytes
573
+ SIZEOF_STRUCT=Integer
574
+ # @return [String] Binary copy of the C struct
575
+ def to_s; end
576
+ # @return [Array<String>] Attributes of this struct
577
+ def members; end
578
+ # @return [Integer] accessor for groupSerial (CK_ULONG)
579
+ attr_accessor :groupSerial
580
+ # @return [Integer] accessor for listSize (CK_ULONG)
581
+ attr_accessor :listSize
582
+ end
583
+ class PKCS11::Luna::CK_AES_CBC_PAD_EXTRACT_PARAMS < PKCS11::Luna::CStruct
584
+ # Size of corresponding C struct in bytes
585
+ SIZEOF_STRUCT=Integer
586
+ # @return [String] Binary copy of the C struct
587
+ def to_s; end
588
+ # @return [Array<String>] Attributes of this struct
589
+ def members; end
590
+ # @return [String, nil] accessor for pBuffer
591
+ attr_accessor :pBuffer
592
+ # @return [String, nil] accessor for pbFileName
593
+ attr_accessor :pbFileName
594
+ # @return [Integer] accessor for ulType (CK_ULONG)
595
+ attr_accessor :ulType
596
+ # @return [Integer] accessor for ulHandle (CK_ULONG)
597
+ attr_accessor :ulHandle
598
+ # @return [Integer] accessor for ulDeleteAfterExtract (CK_ULONG)
599
+ attr_accessor :ulDeleteAfterExtract
600
+ # @return [Integer, nil] accessor for pulBufferLen (CK_ULONG_PTR)
601
+ attr_accessor :pulBufferLen
602
+ # @return [Integer] accessor for ulStorage (CK_ULONG)
603
+ attr_accessor :ulStorage
604
+ # @return [Integer] accessor for pedId (CK_ULONG)
605
+ attr_accessor :pedId
606
+ end
607
+ class PKCS11::Luna::CK_AES_CBC_PAD_INSERT_PARAMS < PKCS11::Luna::CStruct
608
+ # Size of corresponding C struct in bytes
609
+ SIZEOF_STRUCT=Integer
610
+ # @return [String] Binary copy of the C struct
611
+ def to_s; end
612
+ # @return [Array<String>] Attributes of this struct
613
+ def members; end
614
+ # @return [String, nil] accessor for pBuffer and ulBufferLen
615
+ attr_accessor :pBuffer
616
+ # @return [String, nil] accessor for pbFileName
617
+ attr_accessor :pbFileName
618
+ # @return [Integer] accessor for ulStorageType (CK_ULONG)
619
+ attr_accessor :ulStorageType
620
+ # @return [Integer] accessor for ulContainerState (CK_ULONG)
621
+ attr_accessor :ulContainerState
622
+ # @return [Integer, nil] accessor for pulType (CK_ULONG_PTR)
623
+ attr_accessor :pulType
624
+ # @return [Integer, nil] accessor for pulHandle (CK_ULONG_PTR)
625
+ attr_accessor :pulHandle
626
+ # @return [Integer] accessor for ulStorage (CK_ULONG)
627
+ attr_accessor :ulStorage
628
+ # @return [Integer] accessor for pedId (CK_ULONG)
629
+ attr_accessor :pedId
630
+ end
631
+ class PKCS11::Luna::CK_CLUSTER_STATE < PKCS11::Luna::CStruct
632
+ # Size of corresponding C struct in bytes
633
+ SIZEOF_STRUCT=Integer
634
+ # @return [String] Binary copy of the C struct
635
+ def to_s; end
636
+ # @return [Array<String>] Attributes of this struct
637
+ def members; end
638
+ # @return [String] accessor for bMembers (max CK_MAX_CLUSTER_MEMBERS bytes)
639
+ attr_accessor :bMembers
640
+ end
641
+ class PKCS11::Luna::CK_LKM_TOKEN_ID < PKCS11::Luna::CStruct
642
+ # Size of corresponding C struct in bytes
643
+ SIZEOF_STRUCT=Integer
644
+ # @return [String] Binary copy of the C struct
645
+ def to_s; end
646
+ # @return [Array<String>] Attributes of this struct
647
+ def members; end
648
+ # @return [String] accessor for id (max AKEP2_NID_SIZE bytes)
649
+ attr_accessor :id
650
+ end