wrap_key
Description:
[ CCode ( array_length_pos = 3.5 , array_length_type = "gsize" ) ]
public uint8[] wrap_key (Object wrapper, ulong mech_type, Object wrapped, Cancellable? cancellable = null) throws Error
public uint8[] wrap_key (Object wrapper, ulong mech_type, 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. |
| mech_type |
The mechanism type to use for wrapping. |
| wrapped |
The key to wrap. |
| cancellable |
A Cancellable 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 |