Class: PKCS11::CK_INFO

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

#cryptokiVersionPKCS11::CK_VERSION

Returns inline struct.

Returns:



21
22
23
# File 'ext/pk11_struct.doc', line 21

def cryptokiVersion
  @cryptokiVersion
end

#flagsInteger

Returns accessor for flags (CK_ULONG).

Returns:

  • (Integer)

    accessor for flags (CK_ULONG)



25
26
27
# File 'ext/pk11_struct.doc', line 25

def flags
  @flags
end

#libraryDescriptionUTF8-String

Returns accessor for libraryDescription (max 32 bytes).

Returns:

  • (UTF8-String)

    accessor for libraryDescription (max 32 bytes)



27
28
29
# File 'ext/pk11_struct.doc', line 27

def libraryDescription
  @libraryDescription
end

#libraryVersionPKCS11::CK_VERSION

Returns inline struct.

Returns:



29
30
31
# File 'ext/pk11_struct.doc', line 29

def libraryVersion
  @libraryVersion
end

#manufacturerIDUTF8-String

Returns accessor for manufacturerID (max 32 bytes).

Returns:

  • (UTF8-String)

    accessor for manufacturerID (max 32 bytes)



23
24
25
# File 'ext/pk11_struct.doc', line 23

def manufacturerID
  @manufacturerID
end

Instance Method Details

#membersArray<String>

Returns Attributes of this struct.

Returns:

  • (Array<String>)

    Attributes of this struct



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

def members; end

#to_sString

Returns Binary copy of the C struct.

Returns:

  • (String)

    Binary copy of the C struct



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

def to_s; end