Gck.Session.prototype.decrypt_async
function decrypt_async(key: Gck.Object, mechanism: Gck.Mechanism, input: ByteArray, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void { // Gjs wrapper for gck_session_decrypt_async() }
Decrypt data in a mechanism specific manner. This call will return immediately and complete asynchronously.
- key
The key to decrypt with.
- mechanism
The mechanism type and parameters to use for decryption.
- input
data to decrypt
- cancellable
A GCancellable which can be used to cancel the operation.
- callback
Called when the operation completes.