Class: PKCS11::CK_VERSION

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

#majorInteger

Returns accessor for major (CK_BYTE).

Returns:

  • (Integer)

    accessor for major (CK_BYTE)



9
10
11
# File 'ext/pk11_struct.doc', line 9

def major
  @major
end

#minorInteger

Returns accessor for minor (CK_BYTE).

Returns:

  • (Integer)

    accessor for minor (CK_BYTE)



11
12
13
# File 'ext/pk11_struct.doc', line 11

def minor
  @minor
end

Instance Method Details

#membersArray<String>

Returns Attributes of this struct.

Returns:

  • (Array<String>)

    Attributes of this struct



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

def members; end

#to_sString

Returns Binary copy of the C struct.

Returns:

  • (String)

    Binary copy of the C struct



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

def to_s; end