예제 #1
0
 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;
 }
예제 #2
0
        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;
        }