wrap_key_full


Description:

[ CCode ( array_length_pos = 3.5 , array_length_type = "gsize" ) ]
public uint8[] wrap_key_full (Object wrapper, Mechanism mechanism, Object wrapped, Cancellable? cancellable = null) throws Error

Wrap a key into a byte stream.

This call may block for an indefinite period.

Parameters:

this

The session to use.

wrapper

The key to use for wrapping.

mechanism

The mechanism to use for wrapping.

wrapped

The key to wrap.

cancellable

Optional cancellation object, or null.

n_result

A location in which to return the length of the wrapped data.

Returns:

the wrapped data or null if the operation failed