Gck.Session.prototype.sign
function sign(key: Gck.Object, mech_type: Number(gulong), input: ByteArray, cancellable: Gio.Cancellable): [return_value: ByteArray, n_result: Number(gsize)] { // Gjs wrapper for gck_session_sign() }
Sign data in a mechanism specific manner. This call may block for an indefinite period.
- key
The key to sign with.
- mech_type
The mechanism type to use for signing.
- input
data to sign
- cancellable
Optional cancellation object, or null
- return_value
the data that was signed, or null if an error occured
- n_result
location to store the length of the result data