Gck.Session.prototype.create_object_async

function create_object_async(attrs: Gck.Attributes, cancellable: Gio.Cancellable, callback: Gio.AsyncReadyCallback): void {
    // Gjs wrapper for gck_session_create_object_async()
}
  

Create a new PKCS\#11 object. This call will return immediately and complete asynchronously.

If the attrs Gck.Attributes is floating, it is consumed.

attrs

The attributes to create the object with.

cancellable

Optional cancellation object or NULL.

callback

Called when the operation completes.