Class: PKCS11::ProtectServer::CK_MECH_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

#mechanismPKCS11::CK_MECHANISM

Returns inline struct (see pkcs11.gem).

Returns:

  • (PKCS11::CK_MECHANISM)

    inline struct (see pkcs11.gem)



67
68
69
# File 'ext/pk11s_struct.doc', line 67

def mechanism
  @mechanism
end

#objInteger, PKCS11::Object

Returns Object handle (CK_ULONG).

Returns:

  • (Integer, PKCS11::Object)

    Object handle (CK_ULONG)



69
70
71
# File 'ext/pk11s_struct.doc', line 69

def obj
  @obj
end

Instance Method Details

#membersArray<String>

Returns Attributes of this struct.

Returns:

  • (Array<String>)

    Attributes of this struct



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

def members; end

#to_sString

Returns Binary copy of the C struct.

Returns:

  • (String)

    Binary copy of the C struct



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

def to_s; end