GckSession* gck_object_get_session ( GckObject* self )
Get the PKCS#11 session assigned to make calls on when operating on this object.
This will only return a session if it was set explitly on this object. By default an object will open and close sessions appropriate for its calls.
The assigned session, which must be unreffed after use.
|The caller of the method takes ownership of the data, and is responsible for freeing it.|