Gck.Session.prototype.derive_key_full

function derive_key_full(base: Gck.Object, mechanism: Gck.Mechanism, attrs: Gck.Attributes, cancellable: Gio.Cancellable): Gck.Object {
    // Gjs wrapper for gck_session_derive_key_full()
}
  

Derive a key from another key. This call may block for an indefinite period.

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.

Returns

the new derived key or NULL if the operation failed