Method: PKCS11::Session#C_DecryptInit
- Defined in:
- lib/pkcs11/session.rb
#C_DecryptInit(mechanism, key) ⇒ Object
Initializes a decryption operation.
See #decrypt for convenience and #C_EncryptInit for description.
325 326 327 |
# File 'lib/pkcs11/session.rb', line 325 def C_DecryptInit(mechanism, key) @pk.C_DecryptInit(@sess, to_mechanism(mechanism), key) end |