Class: PKCS11::ProtectServer::CK_MECH_TYPE_AND_OBJECT

Inherits:
CStruct
  • Object
show all
Defined in:
ext/pk11s_struct.doc

Constant Summary collapse

SIZEOF_STRUCT =

Size of corresponding C struct in bytes

Integer

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#mechanismInteger

Returns accessor for mechanism (CK_ULONG).

Returns:

  • (Integer)

    accessor for mechanism (CK_ULONG)



79
80
81
# File 'ext/pk11s_struct.doc', line 79

def mechanism
  @mechanism
end

#objInteger, PKCS11::Object

Returns Object handle (CK_ULONG).

Returns:

  • (Integer, PKCS11::Object)

    Object handle (CK_ULONG)



81
82
83
# File 'ext/pk11s_struct.doc', line 81

def obj
  @obj
end

Instance Method Details

#membersArray<String>

Returns Attributes of this struct.

Returns:

  • (Array<String>)

    Attributes of this struct



77
# File 'ext/pk11s_struct.doc', line 77

def members; end

#to_sString

Returns Binary copy of the C struct.

Returns:

  • (String)

    Binary copy of the C struct



75
# File 'ext/pk11s_struct.doc', line 75

def to_s; end