Class: PKCS11::CK_DATE

Inherits:
CStruct show all
Defined in:
ext/pk11_struct.doc

Constant Summary collapse

SIZEOF_STRUCT =

Size of corresponding C struct in bytes

Integer

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from CStruct

#inspect, #to_hash, #values

Instance Attribute Details

#dayUSASCII-String

Returns accessor for day (max 2 bytes).

Returns:

  • (USASCII-String)

    accessor for day (max 2 bytes)



121
122
123
# File 'ext/pk11_struct.doc', line 121

def day
  @day
end

#monthUSASCII-String

Returns accessor for month (max 2 bytes).

Returns:

  • (USASCII-String)

    accessor for month (max 2 bytes)



119
120
121
# File 'ext/pk11_struct.doc', line 119

def month
  @month
end

#yearUSASCII-String

Returns accessor for year (max 4 bytes).

Returns:

  • (USASCII-String)

    accessor for year (max 4 bytes)



117
118
119
# File 'ext/pk11_struct.doc', line 117

def year
  @year
end

Instance Method Details

#membersArray<String>

Returns Attributes of this struct.

Returns:

  • (Array<String>)

    Attributes of this struct



115
# File 'ext/pk11_struct.doc', line 115

def members; end

#to_sString

Returns Binary copy of the C struct.

Returns:

  • (String)

    Binary copy of the C struct



113
# File 'ext/pk11_struct.doc', line 113

def to_s; end