Constructor
GckObjectfrom_handle
Declaration [src]
GckObject*
gck_object_from_handle (
GckSession* session,
gulong object_handle
)
Description [src]
Initialize a GckObject from a raw PKCS#11 handle. Normally you would use
gck_session_create_object() or gck_session_find_objects() to access objects.
Parameters
session-
Type:
GckSessionThe session through which this object is accessed or created.
The data is owned by the caller of the function. object_handle-
Type:
gulongThe raw
CK_OBJECT_HANDLEof the object.
Return value
Type: GckObject
The new object.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |