Class: PKCS11::CK_SLOT_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

#firmwareVersionPKCS11::CK_VERSION

Returns inline struct.

Returns:



47
48
49
# File 'ext/pk11_struct.doc', line 47

def firmwareVersion
  @firmwareVersion
end

#flagsInteger

Returns accessor for flags (CK_ULONG).

Returns:

  • (Integer)

    accessor for flags (CK_ULONG)



43
44
45
# File 'ext/pk11_struct.doc', line 43

def flags
  @flags
end

#hardwareVersionPKCS11::CK_VERSION

Returns inline struct.

Returns:



45
46
47
# File 'ext/pk11_struct.doc', line 45

def hardwareVersion
  @hardwareVersion
end

#manufacturerIDUTF8-String

Returns accessor for manufacturerID (max 32 bytes).

Returns:

  • (UTF8-String)

    accessor for manufacturerID (max 32 bytes)



41
42
43
# File 'ext/pk11_struct.doc', line 41

def manufacturerID
  @manufacturerID
end

#slotDescriptionUTF8-String

Returns accessor for slotDescription (max 64 bytes).

Returns:

  • (UTF8-String)

    accessor for slotDescription (max 64 bytes)



39
40
41
# File 'ext/pk11_struct.doc', line 39

def slotDescription
  @slotDescription
end

Instance Method Details

#membersArray<String>

Returns Attributes of this struct.

Returns:

  • (Array<String>)

    Attributes of this struct



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

def members; end

#to_sString

Returns Binary copy of the C struct.

Returns:

  • (String)

    Binary copy of the C struct



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

def to_s; end