Gck.Session.prototype.sign_full
function sign_full(key: Gck.Object, mechanism: Gck.Mechanism, input: ByteArray, n_result: Number(gsize), cancellable: Gio.Cancellable): Number(guint8) { // Gjs wrapper for gck_session_sign_full() }
Sign data in a mechanism specific manner. This call may block for an indefinite period.
- key
The key to sign with.
- mechanism
The mechanism type and parameters to use for signing.
- input
data to sign
- n_result
location to store the length of the result data
- cancellable
A GCancellable which can be used to cancel the operation.
- Returns
The data that was signed, or NULL if an error occured.