Initializes a new instance of VirgilStreamDecipher.
VirgilStreamDecipher objects are not meant to be created with the new
operator, use VirgilCrypto.createStreamDecipher to create an
instance.
Indicates whether the final method has been called.
Instance of VirgilSeqCipher native class.
Frees the memory occupied by seqCipher in the browser. In node.js this is a noop.
Returns any remaining encrypted or decrypted data depending on current
mode.
Once final has been called, this instance cannot be used to encrypt
or decrypt data, attempts to call any method including final will
result in an error being thrown.
This method also automatically calls dispose.
Optional. Indicating whether to automatically
free the memory occupied by internal seqSigner object in the
browser.
Default is true. false is used to perform operations in inherited classes.
If you pass false as an argument you should call dispose method manually.
In node.js this argument is ignored because the memory will be freed by the garbage collector.
Get signature from content_info if it was added on encryption phase.
Encrypt of decrypt chunk of data based on current mode.
Chunk of data to encrypt \ decrypt
If data is a string, specifies its
encoding, otherwise is ignored. Default is 'utf8'.
Class responsible for decryption of streams of data. Follows the same algorithm for decryption as the VirgilCrypto.decrypt method.