Gck.Session.prototype.create_object

function create_object(attrs: Gck.Attributes, cancellable: Gio.Cancellable): Gck.Object {
    // Gjs wrapper for gck_session_create_object()
}
  

Create a new PKCS\#11 object. This call may block for an indefinite period.

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

attrs

The attributes to create the object with.

cancellable

Optional cancellation object, or NULL.

Returns

the newly created object or null if an error occurred