pkcs11_luna 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,1012 +0,0 @@
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 [UTF8-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 [UTF8-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 [UTF8-String] accessor for slotDescription (max 64 bytes)
39
- attr_accessor :slotDescription
40
- # @return [UTF8-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 [UTF8-String] accessor for label (max 32 bytes)
57
- attr_accessor :label
58
- # @return [UTF8-String] accessor for manufacturerID (max 32 bytes)
59
- attr_accessor :manufacturerID
60
- # @return [UTF8-String] accessor for model (max 16 bytes)
61
- attr_accessor :model
62
- # @return [USASCII-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 [USASCII-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 [USASCII-String] accessor for year (max 4 bytes)
117
- attr_accessor :year
118
- # @return [USASCII-String] accessor for month (max 2 bytes)
119
- attr_accessor :month
120
- # @return [USASCII-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 [ASCII8BIT-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 [ASCII8BIT-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_ECDH1_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 [ASCII8BIT-String, nil] accessor for pSharedData and ulSharedDataLen
187
- attr_accessor :pSharedData
188
- # @return [ASCII8BIT-String, nil] accessor for pPublicData and ulPublicDataLen
189
- attr_accessor :pPublicData
190
- # @return [Integer] accessor for kdf (CK_ULONG)
191
- attr_accessor :kdf
192
- end
193
- class PKCS11::Luna::CK_ECDH2_DERIVE_PARAMS < PKCS11::Luna::CStruct
194
- # Size of corresponding C struct in bytes
195
- SIZEOF_STRUCT=Integer
196
- # @return [String] Binary copy of the C struct
197
- def to_s; end
198
- # @return [Array<String>] Attributes of this struct
199
- def members; end
200
- # @return [ASCII8BIT-String, nil] accessor for pSharedData and ulSharedDataLen
201
- attr_accessor :pSharedData
202
- # @return [ASCII8BIT-String, nil] accessor for pPublicData and ulPublicDataLen
203
- attr_accessor :pPublicData
204
- # @return [ASCII8BIT-String, nil] accessor for pPublicData2
205
- attr_accessor :pPublicData2
206
- # @return [Integer] accessor for kdf (CK_ULONG)
207
- attr_accessor :kdf
208
- # @return [Integer] accessor for ulPrivateDataLen (CK_ULONG)
209
- attr_accessor :ulPrivateDataLen
210
- # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
211
- attr_accessor :hPrivateData
212
- # @return [Integer] accessor for ulPublicDataLen2 (CK_ULONG)
213
- attr_accessor :ulPublicDataLen2
214
- end
215
- class PKCS11::Luna::CK_ECMQV_DERIVE_PARAMS < PKCS11::Luna::CStruct
216
- # Size of corresponding C struct in bytes
217
- SIZEOF_STRUCT=Integer
218
- # @return [String] Binary copy of the C struct
219
- def to_s; end
220
- # @return [Array<String>] Attributes of this struct
221
- def members; end
222
- # @return [ASCII8BIT-String, nil] accessor for pSharedData and ulSharedDataLen
223
- attr_accessor :pSharedData
224
- # @return [ASCII8BIT-String, nil] accessor for pPublicData and ulPublicDataLen
225
- attr_accessor :pPublicData
226
- # @return [ASCII8BIT-String, nil] accessor for pPublicData2
227
- attr_accessor :pPublicData2
228
- # @return [Integer] accessor for kdf (CK_ULONG)
229
- attr_accessor :kdf
230
- # @return [Integer] accessor for ulPrivateDataLen (CK_ULONG)
231
- attr_accessor :ulPrivateDataLen
232
- # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
233
- attr_accessor :hPrivateData
234
- # @return [Integer] accessor for ulPublicDataLen2 (CK_ULONG)
235
- attr_accessor :ulPublicDataLen2
236
- # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
237
- attr_accessor :publicKey
238
- end
239
- class PKCS11::Luna::CK_X9_42_DH1_DERIVE_PARAMS < PKCS11::Luna::CStruct
240
- # Size of corresponding C struct in bytes
241
- SIZEOF_STRUCT=Integer
242
- # @return [String] Binary copy of the C struct
243
- def to_s; end
244
- # @return [Array<String>] Attributes of this struct
245
- def members; end
246
- # @return [ASCII8BIT-String, nil] accessor for pOtherInfo and ulOtherInfoLen
247
- attr_accessor :pOtherInfo
248
- # @return [ASCII8BIT-String, nil] accessor for pPublicData and ulPublicDataLen
249
- attr_accessor :pPublicData
250
- # @return [Integer] accessor for kdf (CK_ULONG)
251
- attr_accessor :kdf
252
- end
253
- class PKCS11::Luna::CK_X9_42_DH2_DERIVE_PARAMS < PKCS11::Luna::CStruct
254
- # Size of corresponding C struct in bytes
255
- SIZEOF_STRUCT=Integer
256
- # @return [String] Binary copy of the C struct
257
- def to_s; end
258
- # @return [Array<String>] Attributes of this struct
259
- def members; end
260
- # @return [ASCII8BIT-String, nil] accessor for pOtherInfo and ulOtherInfoLen
261
- attr_accessor :pOtherInfo
262
- # @return [ASCII8BIT-String, nil] accessor for pPublicData and ulPublicDataLen
263
- attr_accessor :pPublicData
264
- # @return [ASCII8BIT-String, nil] accessor for pPublicData2
265
- attr_accessor :pPublicData2
266
- # @return [Integer] accessor for kdf (CK_ULONG)
267
- attr_accessor :kdf
268
- # @return [Integer] accessor for ulPrivateDataLen (CK_ULONG)
269
- attr_accessor :ulPrivateDataLen
270
- # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
271
- attr_accessor :hPrivateData
272
- # @return [Integer] accessor for ulPublicDataLen2 (CK_ULONG)
273
- attr_accessor :ulPublicDataLen2
274
- end
275
- class PKCS11::Luna::CK_X9_42_MQV_DERIVE_PARAMS < PKCS11::Luna::CStruct
276
- # Size of corresponding C struct in bytes
277
- SIZEOF_STRUCT=Integer
278
- # @return [String] Binary copy of the C struct
279
- def to_s; end
280
- # @return [Array<String>] Attributes of this struct
281
- def members; end
282
- # @return [ASCII8BIT-String, nil] accessor for pOtherInfo and ulOtherInfoLen
283
- attr_accessor :pOtherInfo
284
- # @return [ASCII8BIT-String, nil] accessor for pPublicData and ulPublicDataLen
285
- attr_accessor :pPublicData
286
- # @return [ASCII8BIT-String, nil] accessor for pPublicData2
287
- attr_accessor :pPublicData2
288
- # @return [Integer] accessor for kdf (CK_ULONG)
289
- attr_accessor :kdf
290
- # @return [Integer] accessor for ulPrivateDataLen (CK_ULONG)
291
- attr_accessor :ulPrivateDataLen
292
- # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
293
- attr_accessor :hPrivateData
294
- # @return [Integer] accessor for ulPublicDataLen2 (CK_ULONG)
295
- attr_accessor :ulPublicDataLen2
296
- # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
297
- attr_accessor :publicKey
298
- end
299
- class PKCS11::Luna::CK_KEA_DERIVE_PARAMS < PKCS11::Luna::CStruct
300
- # Size of corresponding C struct in bytes
301
- SIZEOF_STRUCT=Integer
302
- # @return [String] Binary copy of the C struct
303
- def to_s; end
304
- # @return [Array<String>] Attributes of this struct
305
- def members; end
306
- # @return [ASCII8BIT-String, nil] accessor for pRandomA
307
- attr_accessor :pRandomA
308
- # @return [ASCII8BIT-String, nil] accessor for pRandomB
309
- attr_accessor :pRandomB
310
- # @return [ASCII8BIT-String, nil] accessor for pPublicData and ulPublicDataLen
311
- attr_accessor :pPublicData
312
- # @return [Boolean] Bool value
313
- attr_accessor :isSender
314
- # @return [Integer] accessor for ulRandomLen (CK_ULONG)
315
- attr_accessor :ulRandomLen
316
- end
317
- class PKCS11::Luna::CK_RC2_CBC_PARAMS < PKCS11::Luna::CStruct
318
- # Size of corresponding C struct in bytes
319
- SIZEOF_STRUCT=Integer
320
- # @return [String] Binary copy of the C struct
321
- def to_s; end
322
- # @return [Array<String>] Attributes of this struct
323
- def members; end
324
- # @return [Integer] accessor for ulEffectiveBits (CK_ULONG)
325
- attr_accessor :ulEffectiveBits
326
- # @return [ASCII8BIT-String] accessor for iv (max 8 bytes)
327
- attr_accessor :iv
328
- end
329
- class PKCS11::Luna::CK_RC2_MAC_GENERAL_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 [Integer] accessor for ulEffectiveBits (CK_ULONG)
337
- attr_accessor :ulEffectiveBits
338
- # @return [Integer] accessor for ulMacLength (CK_ULONG)
339
- attr_accessor :ulMacLength
340
- end
341
- class PKCS11::Luna::CK_RC5_PARAMS < 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 [Integer] accessor for ulWordsize (CK_ULONG)
349
- attr_accessor :ulWordsize
350
- # @return [Integer] accessor for ulRounds (CK_ULONG)
351
- attr_accessor :ulRounds
352
- end
353
- class PKCS11::Luna::CK_RC5_CBC_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 [ASCII8BIT-String, nil] accessor for pIv and ulIvLen
361
- attr_accessor :pIv
362
- # @return [Integer] accessor for ulWordsize (CK_ULONG)
363
- attr_accessor :ulWordsize
364
- # @return [Integer] accessor for ulRounds (CK_ULONG)
365
- attr_accessor :ulRounds
366
- end
367
- class PKCS11::Luna::CK_RC5_MAC_GENERAL_PARAMS < PKCS11::Luna::CStruct
368
- # Size of corresponding C struct in bytes
369
- SIZEOF_STRUCT=Integer
370
- # @return [String] Binary copy of the C struct
371
- def to_s; end
372
- # @return [Array<String>] Attributes of this struct
373
- def members; end
374
- # @return [Integer] accessor for ulWordsize (CK_ULONG)
375
- attr_accessor :ulWordsize
376
- # @return [Integer] accessor for ulRounds (CK_ULONG)
377
- attr_accessor :ulRounds
378
- # @return [Integer] accessor for ulMacLength (CK_ULONG)
379
- attr_accessor :ulMacLength
380
- end
381
- class PKCS11::Luna::CK_DES_CBC_ENCRYPT_DATA_PARAMS < PKCS11::Luna::CStruct
382
- # Size of corresponding C struct in bytes
383
- SIZEOF_STRUCT=Integer
384
- # @return [String] Binary copy of the C struct
385
- def to_s; end
386
- # @return [Array<String>] Attributes of this struct
387
- def members; end
388
- # @return [ASCII8BIT-String, nil] accessor for pData and length
389
- attr_accessor :pData
390
- # @return [ASCII8BIT-String] accessor for iv (max 8 bytes)
391
- attr_accessor :iv
392
- end
393
- class PKCS11::Luna::CK_AES_CBC_ENCRYPT_DATA_PARAMS < PKCS11::Luna::CStruct
394
- # Size of corresponding C struct in bytes
395
- SIZEOF_STRUCT=Integer
396
- # @return [String] Binary copy of the C struct
397
- def to_s; end
398
- # @return [Array<String>] Attributes of this struct
399
- def members; end
400
- # @return [ASCII8BIT-String, nil] accessor for pData and length
401
- attr_accessor :pData
402
- # @return [ASCII8BIT-String] accessor for iv (max 16 bytes)
403
- attr_accessor :iv
404
- end
405
- class PKCS11::Luna::CK_SKIPJACK_PRIVATE_WRAP_PARAMS < 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 [ASCII8BIT-String, nil] accessor for pPassword and ulPasswordLen
413
- attr_accessor :pPassword
414
- # @return [ASCII8BIT-String, nil] accessor for pPublicData and ulPublicDataLen
415
- attr_accessor :pPublicData
416
- # @return [ASCII8BIT-String, nil] accessor for pRandomA
417
- attr_accessor :pRandomA
418
- # @return [ASCII8BIT-String, nil] accessor for pPrimeP
419
- attr_accessor :pPrimeP
420
- # @return [ASCII8BIT-String, nil] accessor for pBaseG
421
- attr_accessor :pBaseG
422
- # @return [ASCII8BIT-String, nil] accessor for pSubprimeQ
423
- attr_accessor :pSubprimeQ
424
- # @return [Integer] accessor for ulPAndGLen (CK_ULONG)
425
- attr_accessor :ulPAndGLen
426
- # @return [Integer] accessor for ulQLen (CK_ULONG)
427
- attr_accessor :ulQLen
428
- # @return [Integer] accessor for ulRandomLen (CK_ULONG)
429
- attr_accessor :ulRandomLen
430
- end
431
- class PKCS11::Luna::CK_SKIPJACK_RELAYX_PARAMS < PKCS11::Luna::CStruct
432
- # Size of corresponding C struct in bytes
433
- SIZEOF_STRUCT=Integer
434
- # @return [String] Binary copy of the C struct
435
- def to_s; end
436
- # @return [Array<String>] Attributes of this struct
437
- def members; end
438
- # @return [ASCII8BIT-String, nil] accessor for pOldWrappedX and ulOldWrappedXLen
439
- attr_accessor :pOldWrappedX
440
- # @return [ASCII8BIT-String, nil] accessor for pOldPassword and ulOldPasswordLen
441
- attr_accessor :pOldPassword
442
- # @return [ASCII8BIT-String, nil] accessor for pOldPublicData and ulOldPublicDataLen
443
- attr_accessor :pOldPublicData
444
- # @return [ASCII8BIT-String, nil] accessor for pOldRandomA
445
- attr_accessor :pOldRandomA
446
- # @return [ASCII8BIT-String, nil] accessor for pNewPassword and ulNewPasswordLen
447
- attr_accessor :pNewPassword
448
- # @return [ASCII8BIT-String, nil] accessor for pNewPublicData and ulNewPublicDataLen
449
- attr_accessor :pNewPublicData
450
- # @return [ASCII8BIT-String, nil] accessor for pNewRandomA
451
- attr_accessor :pNewRandomA
452
- # @return [Integer] accessor for ulOldRandomLen (CK_ULONG)
453
- attr_accessor :ulOldRandomLen
454
- # @return [Integer] accessor for ulNewRandomLen (CK_ULONG)
455
- attr_accessor :ulNewRandomLen
456
- end
457
- class PKCS11::Luna::CK_PBE_PARAMS < PKCS11::Luna::CStruct
458
- # Size of corresponding C struct in bytes
459
- SIZEOF_STRUCT=Integer
460
- # @return [String] Binary copy of the C struct
461
- def to_s; end
462
- # @return [Array<String>] Attributes of this struct
463
- def members; end
464
- # @return [ASCII8BIT-String, nil] accessor for pInitVector
465
- attr_accessor :pInitVector
466
- # @return [UTF8-String, nil] accessor for pPassword and ulPasswordLen
467
- attr_accessor :pPassword
468
- # @return [ASCII8BIT-String, nil] accessor for pSalt and ulSaltLen
469
- attr_accessor :pSalt
470
- # @return [Integer] accessor for ulIteration (CK_ULONG)
471
- attr_accessor :ulIteration
472
- end
473
- class PKCS11::Luna::CK_KEY_WRAP_SET_OAEP_PARAMS < PKCS11::Luna::CStruct
474
- # Size of corresponding C struct in bytes
475
- SIZEOF_STRUCT=Integer
476
- # @return [String] Binary copy of the C struct
477
- def to_s; end
478
- # @return [Array<String>] Attributes of this struct
479
- def members; end
480
- # @return [ASCII8BIT-String, nil] accessor for pX and ulXLen
481
- attr_accessor :pX
482
- # @return [Integer] accessor for bBC (CK_BYTE)
483
- attr_accessor :bBC
484
- end
485
- class PKCS11::Luna::CK_SSL3_RANDOM_DATA < PKCS11::Luna::CStruct
486
- # Size of corresponding C struct in bytes
487
- SIZEOF_STRUCT=Integer
488
- # @return [String] Binary copy of the C struct
489
- def to_s; end
490
- # @return [Array<String>] Attributes of this struct
491
- def members; end
492
- # @return [ASCII8BIT-String, nil] accessor for pClientRandom and ulClientRandomLen
493
- attr_accessor :pClientRandom
494
- # @return [ASCII8BIT-String, nil] accessor for pServerRandom and ulServerRandomLen
495
- attr_accessor :pServerRandom
496
- end
497
- class PKCS11::Luna::CK_SSL3_MASTER_KEY_DERIVE_PARAMS < PKCS11::Luna::CStruct
498
- # Size of corresponding C struct in bytes
499
- SIZEOF_STRUCT=Integer
500
- # @return [String] Binary copy of the C struct
501
- def to_s; end
502
- # @return [Array<String>] Attributes of this struct
503
- def members; end
504
- # @return [PKCS11::Luna::CK_SSL3_RANDOM_DATA] inline struct
505
- attr_accessor :RandomInfo
506
- # @return [PKCS11::Luna::CK_VERSION, nil] pointer to struct
507
- attr_accessor :pVersion
508
- end
509
- class PKCS11::Luna::CK_SSL3_KEY_MAT_OUT < PKCS11::Luna::CStruct
510
- # Size of corresponding C struct in bytes
511
- SIZEOF_STRUCT=Integer
512
- # @return [String] Binary copy of the C struct
513
- def to_s; end
514
- # @return [Array<String>] Attributes of this struct
515
- def members; end
516
- # @return [ASCII8BIT-String, nil] accessor for pIVClient
517
- attr_accessor :pIVClient
518
- # @return [ASCII8BIT-String, nil] accessor for pIVServer
519
- attr_accessor :pIVServer
520
- # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
521
- attr_accessor :hClientMacSecret
522
- # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
523
- attr_accessor :hServerMacSecret
524
- # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
525
- attr_accessor :hClientKey
526
- # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
527
- attr_accessor :hServerKey
528
- end
529
- class PKCS11::Luna::CK_SSL3_KEY_MAT_PARAMS < PKCS11::Luna::CStruct
530
- # Size of corresponding C struct in bytes
531
- SIZEOF_STRUCT=Integer
532
- # @return [String] Binary copy of the C struct
533
- def to_s; end
534
- # @return [Array<String>] Attributes of this struct
535
- def members; end
536
- # @return [Integer] accessor for ulMacSizeInBits (CK_ULONG)
537
- attr_accessor :ulMacSizeInBits
538
- # @return [Integer] accessor for ulKeySizeInBits (CK_ULONG)
539
- attr_accessor :ulKeySizeInBits
540
- # @return [Integer] accessor for ulIVSizeInBits (CK_ULONG)
541
- attr_accessor :ulIVSizeInBits
542
- # @return [Boolean] Bool value
543
- attr_accessor :bIsExport
544
- # @return [PKCS11::Luna::CK_SSL3_RANDOM_DATA] inline struct
545
- attr_accessor :RandomInfo
546
- # @return [PKCS11::Luna::CK_SSL3_KEY_MAT_OUT, nil] pointer to struct
547
- attr_accessor :pReturnedKeyMaterial
548
- end
549
- class PKCS11::Luna::CK_TLS_PRF_PARAMS < PKCS11::Luna::CStruct
550
- # Size of corresponding C struct in bytes
551
- SIZEOF_STRUCT=Integer
552
- # @return [String] Binary copy of the C struct
553
- def to_s; end
554
- # @return [Array<String>] Attributes of this struct
555
- def members; end
556
- # @return [ASCII8BIT-String, nil] accessor for pSeed and ulSeedLen
557
- attr_accessor :pSeed
558
- # @return [ASCII8BIT-String, nil] accessor for pLabel and ulLabelLen
559
- attr_accessor :pLabel
560
- # @return [ASCII8BIT-String, nil] accessor for pOutput
561
- attr_accessor :pOutput
562
- # @return [Integer, nil] accessor for pulOutputLen (CK_ULONG_PTR)
563
- attr_accessor :pulOutputLen
564
- end
565
- class PKCS11::Luna::CK_WTLS_RANDOM_DATA < PKCS11::Luna::CStruct
566
- # Size of corresponding C struct in bytes
567
- SIZEOF_STRUCT=Integer
568
- # @return [String] Binary copy of the C struct
569
- def to_s; end
570
- # @return [Array<String>] Attributes of this struct
571
- def members; end
572
- # @return [ASCII8BIT-String, nil] accessor for pClientRandom and ulClientRandomLen
573
- attr_accessor :pClientRandom
574
- # @return [ASCII8BIT-String, nil] accessor for pServerRandom and ulServerRandomLen
575
- attr_accessor :pServerRandom
576
- end
577
- class PKCS11::Luna::CK_WTLS_MASTER_KEY_DERIVE_PARAMS < PKCS11::Luna::CStruct
578
- # Size of corresponding C struct in bytes
579
- SIZEOF_STRUCT=Integer
580
- # @return [String] Binary copy of the C struct
581
- def to_s; end
582
- # @return [Array<String>] Attributes of this struct
583
- def members; end
584
- # @return [ASCII8BIT-String, nil] accessor for pVersion
585
- attr_accessor :pVersion
586
- # @return [Integer] accessor for DigestMechanism (CK_ULONG)
587
- attr_accessor :DigestMechanism
588
- # @return [PKCS11::Luna::CK_WTLS_RANDOM_DATA] inline struct
589
- attr_accessor :RandomInfo
590
- end
591
- class PKCS11::Luna::CK_WTLS_PRF_PARAMS < PKCS11::Luna::CStruct
592
- # Size of corresponding C struct in bytes
593
- SIZEOF_STRUCT=Integer
594
- # @return [String] Binary copy of the C struct
595
- def to_s; end
596
- # @return [Array<String>] Attributes of this struct
597
- def members; end
598
- # @return [ASCII8BIT-String, nil] accessor for pSeed and ulSeedLen
599
- attr_accessor :pSeed
600
- # @return [ASCII8BIT-String, nil] accessor for pLabel and ulLabelLen
601
- attr_accessor :pLabel
602
- # @return [ASCII8BIT-String, nil] accessor for pOutput
603
- attr_accessor :pOutput
604
- # @return [Integer] accessor for DigestMechanism (CK_ULONG)
605
- attr_accessor :DigestMechanism
606
- # @return [Integer, nil] accessor for pulOutputLen (CK_ULONG_PTR)
607
- attr_accessor :pulOutputLen
608
- end
609
- class PKCS11::Luna::CK_WTLS_KEY_MAT_OUT < PKCS11::Luna::CStruct
610
- # Size of corresponding C struct in bytes
611
- SIZEOF_STRUCT=Integer
612
- # @return [String] Binary copy of the C struct
613
- def to_s; end
614
- # @return [Array<String>] Attributes of this struct
615
- def members; end
616
- # @return [ASCII8BIT-String, nil] accessor for pIV
617
- attr_accessor :pIV
618
- # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
619
- attr_accessor :hMacSecret
620
- # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
621
- attr_accessor :hKey
622
- end
623
- class PKCS11::Luna::CK_WTLS_KEY_MAT_PARAMS < PKCS11::Luna::CStruct
624
- # Size of corresponding C struct in bytes
625
- SIZEOF_STRUCT=Integer
626
- # @return [String] Binary copy of the C struct
627
- def to_s; end
628
- # @return [Array<String>] Attributes of this struct
629
- def members; end
630
- # @return [Integer] accessor for DigestMechanism (CK_ULONG)
631
- attr_accessor :DigestMechanism
632
- # @return [Integer] accessor for ulMacSizeInBits (CK_ULONG)
633
- attr_accessor :ulMacSizeInBits
634
- # @return [Integer] accessor for ulKeySizeInBits (CK_ULONG)
635
- attr_accessor :ulKeySizeInBits
636
- # @return [Integer] accessor for ulIVSizeInBits (CK_ULONG)
637
- attr_accessor :ulIVSizeInBits
638
- # @return [Integer] accessor for ulSequenceNumber (CK_ULONG)
639
- attr_accessor :ulSequenceNumber
640
- # @return [Boolean] Bool value
641
- attr_accessor :bIsExport
642
- # @return [PKCS11::Luna::CK_WTLS_RANDOM_DATA] inline struct
643
- attr_accessor :RandomInfo
644
- # @return [PKCS11::Luna::CK_WTLS_KEY_MAT_OUT, nil] pointer to struct
645
- attr_accessor :pReturnedKeyMaterial
646
- end
647
- class PKCS11::Luna::CK_CMS_SIG_PARAMS < PKCS11::Luna::CStruct
648
- # Size of corresponding C struct in bytes
649
- SIZEOF_STRUCT=Integer
650
- # @return [String] Binary copy of the C struct
651
- def to_s; end
652
- # @return [Array<String>] Attributes of this struct
653
- def members; end
654
- # @return [UTF8-String, nil] accessor for pContentType
655
- attr_accessor :pContentType
656
- # @return [ASCII8BIT-String, nil] accessor for pRequestedAttributes and ulRequestedAttributesLen
657
- attr_accessor :pRequestedAttributes
658
- # @return [ASCII8BIT-String, nil] accessor for pRequiredAttributes and ulRequiredAttributesLen
659
- attr_accessor :pRequiredAttributes
660
- # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
661
- attr_accessor :certificateHandle
662
- # @return [PKCS11::Luna::CK_MECHANISM, nil] pointer to struct
663
- attr_accessor :pSigningMechanism
664
- # @return [PKCS11::Luna::CK_MECHANISM, nil] pointer to struct
665
- attr_accessor :pDigestMechanism
666
- end
667
- class PKCS11::Luna::CK_KEY_DERIVATION_STRING_DATA < PKCS11::Luna::CStruct
668
- # Size of corresponding C struct in bytes
669
- SIZEOF_STRUCT=Integer
670
- # @return [String] Binary copy of the C struct
671
- def to_s; end
672
- # @return [Array<String>] Attributes of this struct
673
- def members; end
674
- # @return [ASCII8BIT-String, nil] accessor for pData and ulLen
675
- attr_accessor :pData
676
- end
677
- class PKCS11::Luna::CK_PKCS5_PBKD2_PARAMS < PKCS11::Luna::CStruct
678
- # Size of corresponding C struct in bytes
679
- SIZEOF_STRUCT=Integer
680
- # @return [String] Binary copy of the C struct
681
- def to_s; end
682
- # @return [Array<String>] Attributes of this struct
683
- def members; end
684
- # @return [ASCII8BIT-String, nil] accessor for pSaltSourceData and ulSaltSourceDataLen
685
- attr_accessor :pSaltSourceData
686
- # @return [ASCII8BIT-String, nil] accessor for pPrfData and ulPrfDataLen
687
- attr_accessor :pPrfData
688
- # @return [UTF8-String, nil] accessor for pPassword and ulPasswordLen
689
- attr_accessor :pPassword
690
- # @return [Integer] accessor for saltSource (CK_ULONG)
691
- attr_accessor :saltSource
692
- # @return [Integer] accessor for iterations (CK_ULONG)
693
- attr_accessor :iterations
694
- # @return [Integer] accessor for prf (CK_ULONG)
695
- attr_accessor :prf
696
- end
697
- class PKCS11::Luna::CK_OTP_PARAM < PKCS11::Luna::CStruct
698
- # Size of corresponding C struct in bytes
699
- SIZEOF_STRUCT=Integer
700
- # @return [String] Binary copy of the C struct
701
- def to_s; end
702
- # @return [Array<String>] Attributes of this struct
703
- def members; end
704
- # @return [ASCII8BIT-String, nil] accessor for pValue and ulValueLen
705
- attr_accessor :pValue
706
- # @return [Integer] accessor for type (CK_ULONG)
707
- attr_accessor :type
708
- end
709
- class PKCS11::Luna::CK_OTP_PARAMS < PKCS11::Luna::CStruct
710
- # Size of corresponding C struct in bytes
711
- SIZEOF_STRUCT=Integer
712
- # @return [String] Binary copy of the C struct
713
- def to_s; end
714
- # @return [Array<String>] Attributes of this struct
715
- def members; end
716
- # @return [PKCS11::Luna::CK_OTP_PARAM, nil] pointer to struct
717
- attr_accessor :pParams
718
- # @return [Integer] accessor for ulCount (CK_ULONG)
719
- attr_accessor :ulCount
720
- end
721
- class PKCS11::Luna::CK_OTP_SIGNATURE_INFO < PKCS11::Luna::CStruct
722
- # Size of corresponding C struct in bytes
723
- SIZEOF_STRUCT=Integer
724
- # @return [String] Binary copy of the C struct
725
- def to_s; end
726
- # @return [Array<String>] Attributes of this struct
727
- def members; end
728
- # @return [PKCS11::Luna::CK_OTP_PARAM, nil] pointer to struct
729
- attr_accessor :pParams
730
- # @return [Integer] accessor for ulCount (CK_ULONG)
731
- attr_accessor :ulCount
732
- end
733
- class PKCS11::Luna::CK_KIP_PARAMS < PKCS11::Luna::CStruct
734
- # Size of corresponding C struct in bytes
735
- SIZEOF_STRUCT=Integer
736
- # @return [String] Binary copy of the C struct
737
- def to_s; end
738
- # @return [Array<String>] Attributes of this struct
739
- def members; end
740
- # @return [ASCII8BIT-String, nil] accessor for pSeed and ulSeedLen
741
- attr_accessor :pSeed
742
- # @return [PKCS11::Luna::CK_MECHANISM, nil] pointer to struct
743
- attr_accessor :pMechanism
744
- # @return [Integer, PKCS11::Object] Object handle (CK_ULONG)
745
- attr_accessor :hKey
746
- end
747
- class PKCS11::Luna::CK_AES_CTR_PARAMS < PKCS11::Luna::CStruct
748
- # Size of corresponding C struct in bytes
749
- SIZEOF_STRUCT=Integer
750
- # @return [String] Binary copy of the C struct
751
- def to_s; end
752
- # @return [Array<String>] Attributes of this struct
753
- def members; end
754
- # @return [Integer] accessor for ulCounterBits (CK_ULONG)
755
- attr_accessor :ulCounterBits
756
- # @return [ASCII8BIT-String] accessor for cb (max 16 bytes)
757
- attr_accessor :cb
758
- end
759
- class PKCS11::Luna::CK_CAMELLIA_CTR_PARAMS < PKCS11::Luna::CStruct
760
- # Size of corresponding C struct in bytes
761
- SIZEOF_STRUCT=Integer
762
- # @return [String] Binary copy of the C struct
763
- def to_s; end
764
- # @return [Array<String>] Attributes of this struct
765
- def members; end
766
- # @return [Integer] accessor for ulCounterBits (CK_ULONG)
767
- attr_accessor :ulCounterBits
768
- # @return [ASCII8BIT-String] accessor for cb (max 16 bytes)
769
- attr_accessor :cb
770
- end
771
- class PKCS11::Luna::CK_CAMELLIA_CBC_ENCRYPT_DATA_PARAMS < PKCS11::Luna::CStruct
772
- # Size of corresponding C struct in bytes
773
- SIZEOF_STRUCT=Integer
774
- # @return [String] Binary copy of the C struct
775
- def to_s; end
776
- # @return [Array<String>] Attributes of this struct
777
- def members; end
778
- # @return [ASCII8BIT-String, nil] accessor for pData and length
779
- attr_accessor :pData
780
- # @return [ASCII8BIT-String] accessor for iv (max 16 bytes)
781
- attr_accessor :iv
782
- end
783
- class PKCS11::Luna::CK_ARIA_CBC_ENCRYPT_DATA_PARAMS < PKCS11::Luna::CStruct
784
- # Size of corresponding C struct in bytes
785
- SIZEOF_STRUCT=Integer
786
- # @return [String] Binary copy of the C struct
787
- def to_s; end
788
- # @return [Array<String>] Attributes of this struct
789
- def members; end
790
- # @return [ASCII8BIT-String, nil] accessor for pData and length
791
- attr_accessor :pData
792
- # @return [ASCII8BIT-String] accessor for iv (max 16 bytes)
793
- attr_accessor :iv
794
- end
795
- class PKCS11::Luna::CK_AES_GCM_PARAMS < PKCS11::Luna::CStruct
796
- # Size of corresponding C struct in bytes
797
- SIZEOF_STRUCT=Integer
798
- # @return [String] Binary copy of the C struct
799
- def to_s; end
800
- # @return [Array<String>] Attributes of this struct
801
- def members; end
802
- # @return [ASCII8BIT-String, nil] accessor for pIv and ulIvLen
803
- attr_accessor :pIv
804
- # @return [ASCII8BIT-String, nil] accessor for pAAD and ulAADLen
805
- attr_accessor :pAAD
806
- # @return [Integer] accessor for ulIvBits (CK_ULONG)
807
- attr_accessor :ulIvBits
808
- # @return [Integer] accessor for ulTagBits (CK_ULONG)
809
- attr_accessor :ulTagBits
810
- end
811
- class PKCS11::Luna::CK_XOR_BASE_DATA_KDF_PARAMS < PKCS11::Luna::CStruct
812
- # Size of corresponding C struct in bytes
813
- SIZEOF_STRUCT=Integer
814
- # @return [String] Binary copy of the C struct
815
- def to_s; end
816
- # @return [Array<String>] Attributes of this struct
817
- def members; end
818
- # @return [ASCII8BIT-String, nil] accessor for pSharedData and ulSharedDataLen
819
- attr_accessor :pSharedData
820
- # @return [Integer] accessor for kdf (CK_ULONG)
821
- attr_accessor :kdf
822
- end
823
- class PKCS11::Luna::CK_ECIES_PARAMS < PKCS11::Luna::CStruct
824
- # Size of corresponding C struct in bytes
825
- SIZEOF_STRUCT=Integer
826
- # @return [String] Binary copy of the C struct
827
- def to_s; end
828
- # @return [Array<String>] Attributes of this struct
829
- def members; end
830
- # @return [ASCII8BIT-String, nil] accessor for pSharedData1
831
- attr_accessor :pSharedData1
832
- # @return [ASCII8BIT-String, nil] accessor for pSharedData2
833
- attr_accessor :pSharedData2
834
- # @return [Integer] accessor for dhPrimitive (CK_ULONG)
835
- attr_accessor :dhPrimitive
836
- # @return [Integer] accessor for kdf (CK_ULONG)
837
- attr_accessor :kdf
838
- # @return [Integer] accessor for ulSharedDataLen1 (CK_ULONG)
839
- attr_accessor :ulSharedDataLen1
840
- # @return [Integer] accessor for encScheme (CK_ULONG)
841
- attr_accessor :encScheme
842
- # @return [Integer] accessor for ulEncKeyLenInBits (CK_ULONG)
843
- attr_accessor :ulEncKeyLenInBits
844
- # @return [Integer] accessor for macScheme (CK_ULONG)
845
- attr_accessor :macScheme
846
- # @return [Integer] accessor for ulMacKeyLenInBits (CK_ULONG)
847
- attr_accessor :ulMacKeyLenInBits
848
- # @return [Integer] accessor for ulMacLenInBits (CK_ULONG)
849
- attr_accessor :ulMacLenInBits
850
- # @return [Integer] accessor for ulSharedDataLen2 (CK_ULONG)
851
- attr_accessor :ulSharedDataLen2
852
- end
853
- class PKCS11::Luna::CK_PRF_KDF_PARAMS < PKCS11::Luna::CStruct
854
- # Size of corresponding C struct in bytes
855
- SIZEOF_STRUCT=Integer
856
- # @return [String] Binary copy of the C struct
857
- def to_s; end
858
- # @return [Array<String>] Attributes of this struct
859
- def members; end
860
- # @return [ASCII8BIT-String, nil] accessor for pLabel and ulLabelLen
861
- attr_accessor :pLabel
862
- # @return [ASCII8BIT-String, nil] accessor for pContext and ulContextLen
863
- attr_accessor :pContext
864
- # @return [Integer] accessor for prfType (CK_ULONG)
865
- attr_accessor :prfType
866
- # @return [Integer] accessor for ulCounter (CK_ULONG)
867
- attr_accessor :ulCounter
868
- # @return [Integer] accessor for ulEncodingScheme (CK_ULONG)
869
- attr_accessor :ulEncodingScheme
870
- end
871
- class PKCS11::Luna::CK_DES_CTR_PARAMS < PKCS11::Luna::CStruct
872
- # Size of corresponding C struct in bytes
873
- SIZEOF_STRUCT=Integer
874
- # @return [String] Binary copy of the C struct
875
- def to_s; end
876
- # @return [Array<String>] Attributes of this struct
877
- def members; end
878
- # @return [Integer] accessor for ulCounterBits (CK_ULONG)
879
- attr_accessor :ulCounterBits
880
- # @return [ASCII8BIT-String] accessor for cb (max 8 bytes)
881
- attr_accessor :cb
882
- end
883
- class PKCS11::Luna::CA_MOFN_STATUS < PKCS11::Luna::CStruct
884
- # Size of corresponding C struct in bytes
885
- SIZEOF_STRUCT=Integer
886
- # @return [String] Binary copy of the C struct
887
- def to_s; end
888
- # @return [Array<String>] Attributes of this struct
889
- def members; end
890
- # @return [Integer] accessor for ulID (CK_ULONG)
891
- attr_accessor :ulID
892
- # @return [Integer] accessor for ulM (CK_ULONG)
893
- attr_accessor :ulM
894
- # @return [Integer] accessor for ulN (CK_ULONG)
895
- attr_accessor :ulN
896
- # @return [Integer] accessor for ulSecretSize (CK_ULONG)
897
- attr_accessor :ulSecretSize
898
- # @return [Integer] accessor for ulFlag (CK_ULONG)
899
- attr_accessor :ulFlag
900
- end
901
- class PKCS11::Luna::CKCA_MODULE_INFO < PKCS11::Luna::CStruct
902
- # Size of corresponding C struct in bytes
903
- SIZEOF_STRUCT=Integer
904
- # @return [String] Binary copy of the C struct
905
- def to_s; end
906
- # @return [Array<String>] Attributes of this struct
907
- def members; end
908
- # @return [Integer] accessor for ulModuleSize (CK_ULONG)
909
- attr_accessor :ulModuleSize
910
- # @return [USASCII-String] accessor for developerName (max 32 bytes)
911
- attr_accessor :developerName
912
- # @return [USASCII-String] accessor for moduleDescription (max 32 bytes)
913
- attr_accessor :moduleDescription
914
- # @return [PKCS11::Luna::CK_VERSION] inline struct
915
- attr_accessor :moduleVersion
916
- end
917
- class PKCS11::Luna::CK_HA_MEMBER < PKCS11::Luna::CStruct
918
- # Size of corresponding C struct in bytes
919
- SIZEOF_STRUCT=Integer
920
- # @return [String] Binary copy of the C struct
921
- def to_s; end
922
- # @return [Array<String>] Attributes of this struct
923
- def members; end
924
- # @return [Integer] accessor for memberSerial (CK_ULONG)
925
- attr_accessor :memberSerial
926
- # @return [Integer] accessor for memberStatus (CK_ULONG)
927
- attr_accessor :memberStatus
928
- end
929
- class PKCS11::Luna::CK_HA_STATUS < PKCS11::Luna::CStruct
930
- # Size of corresponding C struct in bytes
931
- SIZEOF_STRUCT=Integer
932
- # @return [String] Binary copy of the C struct
933
- def to_s; end
934
- # @return [Array<String>] Attributes of this struct
935
- def members; end
936
- # @return [Integer] accessor for groupSerial (CK_ULONG)
937
- attr_accessor :groupSerial
938
- # @return [Integer] accessor for listSize (CK_ULONG)
939
- attr_accessor :listSize
940
- end
941
- class PKCS11::Luna::CK_AES_CBC_PAD_EXTRACT_PARAMS < PKCS11::Luna::CStruct
942
- # Size of corresponding C struct in bytes
943
- SIZEOF_STRUCT=Integer
944
- # @return [String] Binary copy of the C struct
945
- def to_s; end
946
- # @return [Array<String>] Attributes of this struct
947
- def members; end
948
- # @return [ASCII8BIT-String, nil] accessor for pBuffer
949
- attr_accessor :pBuffer
950
- # @return [ASCII8BIT-String, nil] accessor for pbFileName
951
- attr_accessor :pbFileName
952
- # @return [Integer] accessor for ulType (CK_ULONG)
953
- attr_accessor :ulType
954
- # @return [Integer] accessor for ulHandle (CK_ULONG)
955
- attr_accessor :ulHandle
956
- # @return [Integer] accessor for ulDeleteAfterExtract (CK_ULONG)
957
- attr_accessor :ulDeleteAfterExtract
958
- # @return [Integer, nil] accessor for pulBufferLen (CK_ULONG_PTR)
959
- attr_accessor :pulBufferLen
960
- # @return [Integer] accessor for ulStorage (CK_ULONG)
961
- attr_accessor :ulStorage
962
- # @return [Integer] accessor for pedId (CK_ULONG)
963
- attr_accessor :pedId
964
- # @return [Integer] accessor for ctxID (CK_ULONG)
965
- attr_accessor :ctxID
966
- end
967
- class PKCS11::Luna::CK_AES_CBC_PAD_INSERT_PARAMS < PKCS11::Luna::CStruct
968
- # Size of corresponding C struct in bytes
969
- SIZEOF_STRUCT=Integer
970
- # @return [String] Binary copy of the C struct
971
- def to_s; end
972
- # @return [Array<String>] Attributes of this struct
973
- def members; end
974
- # @return [ASCII8BIT-String, nil] accessor for pBuffer and ulBufferLen
975
- attr_accessor :pBuffer
976
- # @return [ASCII8BIT-String, nil] accessor for pbFileName
977
- attr_accessor :pbFileName
978
- # @return [Integer] accessor for ulStorageType (CK_ULONG)
979
- attr_accessor :ulStorageType
980
- # @return [Integer] accessor for ulContainerState (CK_ULONG)
981
- attr_accessor :ulContainerState
982
- # @return [Integer, nil] accessor for pulType (CK_ULONG_PTR)
983
- attr_accessor :pulType
984
- # @return [Integer, nil] accessor for pulHandle (CK_ULONG_PTR)
985
- attr_accessor :pulHandle
986
- # @return [Integer] accessor for ulStorage (CK_ULONG)
987
- attr_accessor :ulStorage
988
- # @return [Integer] accessor for pedId (CK_ULONG)
989
- attr_accessor :pedId
990
- # @return [Integer] accessor for ctxID (CK_ULONG)
991
- attr_accessor :ctxID
992
- end
993
- class PKCS11::Luna::CK_CLUSTER_STATE < PKCS11::Luna::CStruct
994
- # Size of corresponding C struct in bytes
995
- SIZEOF_STRUCT=Integer
996
- # @return [String] Binary copy of the C struct
997
- def to_s; end
998
- # @return [Array<String>] Attributes of this struct
999
- def members; end
1000
- # @return [ASCII8BIT-String] accessor for bMembers (max CK_MAX_CLUSTER_MEMBERS bytes)
1001
- attr_accessor :bMembers
1002
- end
1003
- class PKCS11::Luna::CK_LKM_TOKEN_ID < PKCS11::Luna::CStruct
1004
- # Size of corresponding C struct in bytes
1005
- SIZEOF_STRUCT=Integer
1006
- # @return [String] Binary copy of the C struct
1007
- def to_s; end
1008
- # @return [Array<String>] Attributes of this struct
1009
- def members; end
1010
- # @return [ASCII8BIT-String] accessor for id (max AKEP2_NID_SIZE bytes)
1011
- attr_accessor :id
1012
- end