Class: PKCS11::Session::Cipher

Inherits:
Object
  • Object
show all
Defined in:
lib/pkcs11/session.rb

Direct Known Subclasses

DigestCipher

Instance Method Summary collapse

Instance Method Details

#update(data) ⇒ String Also known as: <<

Process a data part with the encryption operation.

Parameters:

  • data (String)

    data to be processed

Returns:

  • (String)

    output data



190
191
192
# File 'lib/pkcs11/session.rb', line 190

def update(data)
  @update_block.call(data)
end