Method: PKCS11::Session#C_SignInit

Defined in:
lib/pkcs11/session.rb

#C_SignInit(mechanism, key) ⇒ PKCS11::Session

Initializes a signature operation, where the signature is an appendix to the data.

See #sign for convenience.

Returns:


456
457
458
459
# File 'lib/pkcs11/session.rb', line 456

def C_SignInit(mechanism, key)
  @pk.C_SignInit(@sess, to_mechanism(mechanism), key)
  self
end