Gck.Session.prototype.derive_key_async

function derive_key_async(base: Gck.Object, mechanism: Gck.Mechanism, attrs: Gck.Attributes, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for gck_session_derive_key_async()
}
  

Derive a key from another key. This call will return immediately and complete asynchronously.

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

base

The key to derive from.

mechanism

The mechanism to use for derivation.

attrs

Additional attributes for the derived key.

cancellable

Optional cancellation object or NULL.

callback

Called when the operation completes.