Gck.Session.prototype.unwrap_key_async

function unwrap_key_async(wrapper: Gck.Object, mechanism: Gck.Mechanism, input: ByteArray, attrs: Gck.Attributes, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for gck_session_unwrap_key_async()
}
  

Unwrap a key from a byte stream. This call will return immediately and complete asynchronously.

If the attrs Gck.Attributes is floating, it is consumed.

wrapper

The key to use for unwrapping.

mechanism

The mechanism to use for unwrapping.

input

the wrapped data as a byte stream

attrs

Additional attributes for the unwrapped key.

cancellable

Optional cancellation object or NULL.

callback

Called when the operation completes.