create_object


Description:

public Object create_object (Attributes attrs, Cancellable? cancellable = null) throws Error

Create a new PKCS#11 object.

This call may block for an indefinite period.

If the attrs Attributes is floating, 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.

Returns:

the newly created object or null if an error occurred