Class: PKCS11::CK_DATE
Constant Summary collapse
- SIZEOF_STRUCT =
Size of corresponding C struct in bytes
Integer
Instance Attribute Summary collapse
-
#day ⇒ USASCII-String
Accessor for day (max 2 bytes).
-
#month ⇒ USASCII-String
Accessor for month (max 2 bytes).
-
#year ⇒ USASCII-String
Accessor for year (max 4 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
#day ⇒ USASCII-String
Returns accessor for day (max 2 bytes).
121 122 123 |
# File 'ext/pk11_struct.doc', line 121 def day @day end |
#month ⇒ USASCII-String
Returns accessor for month (max 2 bytes).
119 120 121 |
# File 'ext/pk11_struct.doc', line 119 def month @month end |
#year ⇒ USASCII-String
Returns accessor for year (max 4 bytes).
117 118 119 |
# File 'ext/pk11_struct.doc', line 117 def year @year end |
Instance Method Details
#members ⇒ Array<String>
Returns Attributes of this struct.
115 |
# File 'ext/pk11_struct.doc', line 115 def members; end |
#to_s ⇒ String
Returns Binary copy of the C struct.
113 |
# File 'ext/pk11_struct.doc', line 113 def to_s; end |