Class: PKCS11::CK_TOKEN_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.
-
#label ⇒ UTF8-String
Accessor for label (max 32 bytes).
-
#manufacturerID ⇒ UTF8-String
Accessor for manufacturerID (max 32 bytes).
-
#model ⇒ UTF8-String
Accessor for model (max 16 bytes).
-
#serialNumber ⇒ USASCII-String
Accessor for serialNumber (max 16 bytes).
-
#ulFreePrivateMemory ⇒ Integer
Accessor for ulFreePrivateMemory (CK_ULONG).
-
#ulFreePublicMemory ⇒ Integer
Accessor for ulFreePublicMemory (CK_ULONG).
-
#ulMaxPinLen ⇒ Integer
Accessor for ulMaxPinLen (CK_ULONG).
-
#ulMaxRwSessionCount ⇒ Integer
Accessor for ulMaxRwSessionCount (CK_ULONG).
-
#ulMaxSessionCount ⇒ Integer
Accessor for ulMaxSessionCount (CK_ULONG).
-
#ulMinPinLen ⇒ Integer
Accessor for ulMinPinLen (CK_ULONG).
-
#ulRwSessionCount ⇒ Integer
Accessor for ulRwSessionCount (CK_ULONG).
-
#ulSessionCount ⇒ Integer
Accessor for ulSessionCount (CK_ULONG).
-
#ulTotalPrivateMemory ⇒ Integer
Accessor for ulTotalPrivateMemory (CK_ULONG).
-
#ulTotalPublicMemory ⇒ Integer
Accessor for ulTotalPublicMemory (CK_ULONG).
-
#utcTime ⇒ USASCII-String
Accessor for utcTime (max 16 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.
89 90 91 |
# File 'ext/pk11_struct.doc', line 89 def firmwareVersion @firmwareVersion end |
#flags ⇒ Integer
Returns accessor for flags (CK_ULONG).
65 66 67 |
# File 'ext/pk11_struct.doc', line 65 def flags @flags end |
#hardwareVersion ⇒ PKCS11::CK_VERSION
Returns inline struct.
87 88 89 |
# File 'ext/pk11_struct.doc', line 87 def hardwareVersion @hardwareVersion end |
#label ⇒ UTF8-String
Returns accessor for label (max 32 bytes).
57 58 59 |
# File 'ext/pk11_struct.doc', line 57 def label @label end |
#manufacturerID ⇒ UTF8-String
Returns accessor for manufacturerID (max 32 bytes).
59 60 61 |
# File 'ext/pk11_struct.doc', line 59 def manufacturerID @manufacturerID end |
#model ⇒ UTF8-String
Returns accessor for model (max 16 bytes).
61 62 63 |
# File 'ext/pk11_struct.doc', line 61 def model @model end |
#serialNumber ⇒ USASCII-String
Returns accessor for serialNumber (max 16 bytes).
63 64 65 |
# File 'ext/pk11_struct.doc', line 63 def serialNumber @serialNumber end |
#ulFreePrivateMemory ⇒ Integer
Returns accessor for ulFreePrivateMemory (CK_ULONG).
85 86 87 |
# File 'ext/pk11_struct.doc', line 85 def ulFreePrivateMemory @ulFreePrivateMemory end |
#ulFreePublicMemory ⇒ Integer
Returns accessor for ulFreePublicMemory (CK_ULONG).
81 82 83 |
# File 'ext/pk11_struct.doc', line 81 def ulFreePublicMemory @ulFreePublicMemory end |
#ulMaxPinLen ⇒ Integer
Returns accessor for ulMaxPinLen (CK_ULONG).
75 76 77 |
# File 'ext/pk11_struct.doc', line 75 def ulMaxPinLen @ulMaxPinLen end |
#ulMaxRwSessionCount ⇒ Integer
Returns accessor for ulMaxRwSessionCount (CK_ULONG).
71 72 73 |
# File 'ext/pk11_struct.doc', line 71 def ulMaxRwSessionCount @ulMaxRwSessionCount end |
#ulMaxSessionCount ⇒ Integer
Returns accessor for ulMaxSessionCount (CK_ULONG).
67 68 69 |
# File 'ext/pk11_struct.doc', line 67 def ulMaxSessionCount @ulMaxSessionCount end |
#ulMinPinLen ⇒ Integer
Returns accessor for ulMinPinLen (CK_ULONG).
77 78 79 |
# File 'ext/pk11_struct.doc', line 77 def ulMinPinLen @ulMinPinLen end |
#ulRwSessionCount ⇒ Integer
Returns accessor for ulRwSessionCount (CK_ULONG).
73 74 75 |
# File 'ext/pk11_struct.doc', line 73 def ulRwSessionCount @ulRwSessionCount end |
#ulSessionCount ⇒ Integer
Returns accessor for ulSessionCount (CK_ULONG).
69 70 71 |
# File 'ext/pk11_struct.doc', line 69 def ulSessionCount @ulSessionCount end |
#ulTotalPrivateMemory ⇒ Integer
Returns accessor for ulTotalPrivateMemory (CK_ULONG).
83 84 85 |
# File 'ext/pk11_struct.doc', line 83 def ulTotalPrivateMemory @ulTotalPrivateMemory end |
#ulTotalPublicMemory ⇒ Integer
Returns accessor for ulTotalPublicMemory (CK_ULONG).
79 80 81 |
# File 'ext/pk11_struct.doc', line 79 def ulTotalPublicMemory @ulTotalPublicMemory end |
#utcTime ⇒ USASCII-String
Returns accessor for utcTime (max 16 bytes).
91 92 93 |
# File 'ext/pk11_struct.doc', line 91 def utcTime @utcTime end |
Instance Method Details
#members ⇒ Array<String>
Returns Attributes of this struct.
55 |
# File 'ext/pk11_struct.doc', line 55 def members; end |
#to_s ⇒ String
Returns Binary copy of the C struct.
53 |
# File 'ext/pk11_struct.doc', line 53 def to_s; end |