create_object_async


Description:

public async Object create_object_async (Attributes attrs, Cancellable? cancellable) throws Error

Create a new PKCS#11 object.

This call will return immediately and complete asynchronously.

If attrs is a floating reference, it is consumed.

Parameters:

this

The session to create the object on.

attrs

The attributes to create the object with.

cancellable

Optional cancellation object or null.

callback

Called when the operation completes.

user_data

Data to pass to the callback.