derive_key_async


Description:

public async Object derive_key_async (Object @base, Mechanism mechanism, Attributes attrs, Cancellable? cancellable) throws Error

Derive a key from another key.

This call will return immediately and complete asynchronously.

If the attrs Attributes is floating, it is consumed.

Parameters:

this

The session to use.

mechanism

The mechanism to use for derivation.

attrs

Additional attributes for the derived key.

cancellable

Optional cancellation object or null.

base

The key to derive from.

callback

Called when the operation completes.

user_data

Data to pass to the callback.