derive_key_full


Description:

public Object derive_key_full (Object @base, Mechanism mechanism, Attributes attrs, Cancellable? cancellable = null) throws Error

Derive a key from another key.

This call may block for an indefinite period.

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.

Returns:

the new derived key or null if the operation failed