public class SessionContainer
extends java.lang.Object
Constructor and Description |
---|
SessionContainer(TokenManager tokenManager,
iaik.pkcs.pkcs11.Session session)
Instantiates a new session container.
|
Modifier and Type | Method and Description |
---|---|
void |
disposeSessionIfDummy()
Disposes the current session if it is a dummy session.
|
iaik.pkcs.pkcs11.Session |
getSession()
Gets the session.
|
public SessionContainer(TokenManager tokenManager, iaik.pkcs.pkcs11.Session session) throws IAIKPkcs11TokenUnavailableException, iaik.pkcs.pkcs11.TokenException
session == null
.tokenManager
- the token managersession
- the sessionIAIKPkcs11TokenUnavailableException
- the iAIK pkcs11 token unavailable exceptioniaik.pkcs.pkcs11.TokenException
- the token exceptionIAIK JavaSecurity Website https://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. Version 1.9.4