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.
this |
The object |
the assigned session, which must be unreffed after use |