get_session


Description:

public Session get_session ()

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.

Parameters:

this

The object

Returns:

the assigned session, which must be unreffed after use