Gck.Session.prototype.wrap_key_full
function wrap_key_full(wrapper: Gck.Object, mechanism: Gck.Mechanism, wrapped: Gck.Object, cancellable: Gio.Cancellable): [return_value: ByteArray, n_result: Number(gsize)] { // Gjs wrapper for gck_session_wrap_key_full() }
Wrap a key into a byte stream. This call may block for an indefinite period.
- 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.
- return_value
the wrapped data or null if the operation failed
- n_result
A location in which to return the length of the wrapped data.