unwrap_key_full


Description:

public Object unwrap_key_full (Object wrapper, Mechanism mechanism, uint8[] input, Attributes attrs, Cancellable? cancellable = null) throws Error

Unwrap a key from a byte stream.

This call may block for an indefinite period.

If attrs is a floating reference, it is consumed.

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.

n_input

The length of the wrapped data.

Returns:

the new unwrapped key or null if the operation failed




2022 vala-language.org