Gck.Session.prototype.unwrap_key_full

function unwrap_key_full(wrapper: Gck.Object, mechanism: Gck.Mechanism, input: ByteArray, attrs: Gck.Attributes, cancellable: Gio.Cancellable): Gck.Object {
    // Gjs wrapper for gck_session_unwrap_key_full()
}
  

Unwrap a key from a byte stream. This call may block for an indefinite period.

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.

Returns

the new unwrapped key or NULL if the operation failed