コード例 #1
0
        public string login(bool useVirtualDevice, string pinCode, int credID, int groupID, int proverID, int securityLevel)
        {
            LoginComposite loginParam = new LoginComposite(useVirtualDevice, pinCode, credID, groupID, proverID);
            SessionData    sData      = new SessionData(loginParam, SessionData.generateSessionKey(), securityLevel);

            sessionDB.TryAdd(sData.sessionID, sData);
            return(sData.sessionID);
        }
コード例 #2
0
    public string login(bool useVirtualDevice, string pinCode, int credID, int groupID, int proverID, int securityLevel)
    {

      LoginComposite loginParam = new LoginComposite(useVirtualDevice, pinCode, credID, groupID, proverID);
      SessionData sData = new SessionData(loginParam, SessionData.generateSessionKey(), securityLevel);
      sessionDB.TryAdd(sData.sessionID, sData);
      return sData.sessionID;
    }