unwrap_key_async


Description:

public async Object unwrap_key_async (Object wrapper, Mechanism mechanism, uint8[] input, Attributes attrs, Cancellable? cancellable) throws Error

Unwrap a key from a byte stream.

This call will return immediately and complete asynchronously.

Parameters:

this

The session to use.

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.

callback

Called when the operation completes.

n_input

The length of the wrapped data.

user_data

Data to pass to the callback.