Class: PKCS11::CK_INFO
Constant Summary collapse
- SIZEOF_STRUCT =
Size of corresponding C struct in bytes
Integer
Instance Attribute Summary collapse
-
#cryptokiVersion ⇒ PKCS11::CK_VERSION
Inline struct.
-
#flags ⇒ Integer
Accessor for flags (CK_ULONG).
-
#libraryDescription ⇒ UTF8-String
Accessor for libraryDescription (max 32 bytes).
-
#libraryVersion ⇒ PKCS11::CK_VERSION
Inline struct.
-
#manufacturerID ⇒ UTF8-String
Accessor for manufacturerID (max 32 bytes).
Instance Method Summary collapse
-
#members ⇒ Array<String>
Attributes of this struct.
-
#to_s ⇒ String
Binary copy of the C struct.
Methods inherited from CStruct
Instance Attribute Details
#cryptokiVersion ⇒ PKCS11::CK_VERSION
Returns inline struct.
21 22 23 |
# File 'ext/pk11_struct.doc', line 21 def cryptokiVersion @cryptokiVersion end |
#flags ⇒ Integer
Returns accessor for flags (CK_ULONG).
25 26 27 |
# File 'ext/pk11_struct.doc', line 25 def flags @flags end |
#libraryDescription ⇒ UTF8-String
Returns accessor for libraryDescription (max 32 bytes).
27 28 29 |
# File 'ext/pk11_struct.doc', line 27 def libraryDescription @libraryDescription end |
#libraryVersion ⇒ PKCS11::CK_VERSION
Returns inline struct.
29 30 31 |
# File 'ext/pk11_struct.doc', line 29 def libraryVersion @libraryVersion end |
#manufacturerID ⇒ UTF8-String
Returns accessor for manufacturerID (max 32 bytes).
23 24 25 |
# File 'ext/pk11_struct.doc', line 23 def manufacturerID @manufacturerID end |
Instance Method Details
#members ⇒ Array<String>
Returns Attributes of this struct.
19 |
# File 'ext/pk11_struct.doc', line 19 def members; end |
#to_s ⇒ String
Returns Binary copy of the C struct.
17 |
# File 'ext/pk11_struct.doc', line 17 def to_s; end |