unwrap_key
Description:
public Object unwrap_key (Object wrapper, ulong mech_type, uint8[] input, Attributes attrs, Cancellable? cancellable = null) throws Error
Unwrap a key from a byte stream.
This call may block for an indefinite period.
Parameters:
| this |
The session to use. |
| wrapper |
The key to use for unwrapping. |
| mech_type |
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 |