Method
GckSessioncreate_object
Declaration [src]
GckObject*
gck_session_create_object (
GckSession* self,
GckAttributes* attrs,
GCancellable* cancellable,
GError** error
)
Description [src]
Create a new PKCS#11 object. This call may block for an indefinite period.
If the attrs
GckAttributes
is floating, it is consumed.
Parameters
attrs |
GckAttributes |
The attributes to create the object with. |
|
The data is owned by the caller of the function. | |
cancellable |
GCancellable |
Optional cancellation object, or |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | GckObject |
The newly created object or |
|
The caller of the method takes ownership of the data, and is responsible for freeing it. |