Class: PKCS11::CK_SESSION_INFO

Inherits:
CStruct
  • Object
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

#flagsInteger

Returns accessor for flags (CK_ULONG).

Returns:

  • (Integer)

    accessor for flags (CK_ULONG)



105
106
107
# File 'ext/pk11_struct.doc', line 105

def flags
  @flags
end

#slotIDInteger

Returns accessor for slotID (CK_ULONG).

Returns:

  • (Integer)

    accessor for slotID (CK_ULONG)



101
102
103
# File 'ext/pk11_struct.doc', line 101

def slotID
  @slotID
end

#stateInteger

Returns accessor for state (CK_ULONG).

Returns:

  • (Integer)

    accessor for state (CK_ULONG)



103
104
105
# File 'ext/pk11_struct.doc', line 103

def state
  @state
end

#ulDeviceErrorInteger

Returns accessor for ulDeviceError (CK_ULONG).

Returns:

  • (Integer)

    accessor for ulDeviceError (CK_ULONG)



107
108
109
# File 'ext/pk11_struct.doc', line 107

def ulDeviceError
  @ulDeviceError
end

Instance Method Details

#membersArray<String>

Returns Attributes of this struct.

Returns:

  • (Array<String>)

    Attributes of this struct



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

def members; end

#to_sString

Returns Binary copy of the C struct.

Returns:

  • (String)

    Binary copy of the C struct



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

def to_s; end