Class: PKCS11::CK_MECHANISM_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)



135
136
137
# File 'ext/pk11_struct.doc', line 135

def flags
  @flags
end

#ulMaxKeySizeInteger

Returns accessor for ulMaxKeySize (CK_ULONG).

Returns:

  • (Integer)

    accessor for ulMaxKeySize (CK_ULONG)



133
134
135
# File 'ext/pk11_struct.doc', line 133

def ulMaxKeySize
  @ulMaxKeySize
end

#ulMinKeySizeInteger

Returns accessor for ulMinKeySize (CK_ULONG).

Returns:

  • (Integer)

    accessor for ulMinKeySize (CK_ULONG)



131
132
133
# File 'ext/pk11_struct.doc', line 131

def ulMinKeySize
  @ulMinKeySize
end

Instance Method Details

#membersArray<String>

Returns Attributes of this struct.

Returns:

  • (Array<String>)

    Attributes of this struct



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

def members; end

#to_sString

Returns Binary copy of the C struct.

Returns:

  • (String)

    Binary copy of the C struct



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

def to_s; end