public SessionData(LoginComposite inParm, String sessionID, int securityLevel) { SmartCardParams sParams = new SmartCardParams(inParm.PinCode, inParm.CredID, inParm.GroupID, inParm.ProverID); _securityLevel = securityLevel; _parameterSet = SecurityLevelUtils.getRecommendedSet(securityLevel); deviceManager = new DeviceManager(sParams, parameterSet, inParm.UseVirtualDevice); lastAccessed = DateTime.Now; this.sessionID = sessionID; }