Object.from_handle


Description:

[ CCode ( cname = "gck_object_from_handle" , has_construct_function = false ) ]
public Object.from_handle (Session session, ulong object_handle)

Initialize a GckObject from a raw PKCS#11 handle.

Normally you would use [methodSession.create_object] or [methodSession.find_objects] to access objects.

Parameters:

session

The session through which this object is accessed or created.

object_handle

The raw `CK_OBJECT_HANDLE` of the object.

Returns:

The new object




2022 vala-language.org