Class: PKCS11::CK_SLOT_INFO
Constant Summary collapse
- SIZEOF_STRUCT =
Size of corresponding C struct in bytes
Integer
Instance Attribute Summary collapse
-
#firmwareVersion ⇒ PKCS11::CK_VERSION
Inline struct.
-
#flags ⇒ Integer
Accessor for flags (CK_ULONG).
-
#hardwareVersion ⇒ PKCS11::CK_VERSION
Inline struct.
-
#manufacturerID ⇒ UTF8-String
Accessor for manufacturerID (max 32 bytes).
-
#slotDescription ⇒ UTF8-String
Accessor for slotDescription (max 64 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
#firmwareVersion ⇒ PKCS11::CK_VERSION
Returns inline struct.
47 48 49 |
# File 'ext/pk11_struct.doc', line 47 def firmwareVersion @firmwareVersion end |
#flags ⇒ Integer
Returns accessor for flags (CK_ULONG).
43 44 45 |
# File 'ext/pk11_struct.doc', line 43 def flags @flags end |
#hardwareVersion ⇒ PKCS11::CK_VERSION
Returns inline struct.
45 46 47 |
# File 'ext/pk11_struct.doc', line 45 def hardwareVersion @hardwareVersion end |
#manufacturerID ⇒ UTF8-String
Returns accessor for manufacturerID (max 32 bytes).
41 42 43 |
# File 'ext/pk11_struct.doc', line 41 def manufacturerID @manufacturerID end |
#slotDescription ⇒ UTF8-String
Returns accessor for slotDescription (max 64 bytes).
39 40 41 |
# File 'ext/pk11_struct.doc', line 39 def slotDescription @slotDescription end |
Instance Method Details
#members ⇒ Array<String>
Returns Attributes of this struct.
37 |
# File 'ext/pk11_struct.doc', line 37 def members; end |
#to_s ⇒ String
Returns Binary copy of the C struct.
35 |
# File 'ext/pk11_struct.doc', line 35 def to_s; end |