Gck.Session.prototype.sign_async

function sign_async(key: Gck.Object, mechanism: Gck.Mechanism, input: ByteArray, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for gck_session_sign_async()
}
  

Sign data in a mechanism specific manner. This call will return immediately and complete asynchronously.

key

The key to sign with.

mechanism

The mechanism type and parameters to use for signing.

input

data to sign

cancellable

A GCancellable which can be used to cancel the operation.

callback

Called when the operation completes.