Gck.Session.prototype.decrypt_full

function decrypt_full(key: Gck.Object, mechanism: Gck.Mechanism, input: ByteArray, cancellable: Gio.Cancellable): [return_value: ByteArray, n_result: Number(gsize)] {
    // Gjs wrapper for gck_session_decrypt_full()
}
  

Decrypt data in a mechanism specific manner. This call may block for an indefinite period.

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.

return_value

the data that was decrypted, or null if an error occured

n_result

location to store the length of the result data