Exemple #1
0
        public FidoStartedRegistration(FidoAppId appId, string challenge)
        {
            if (appId == null)
            {
                throw new ArgumentNullException("appId");
            }
            if (challenge == null)
            {
                throw new ArgumentNullException("challenge");
            }

            AppId     = appId;
            Challenge = challenge;
        }
Exemple #2
0
        public FidoStartedAuthentication(FidoAppId appId, string challenge, FidoKeyHandle keyHandle)
        {
            if (appId == null)
            {
                throw new ArgumentNullException("appId");
            }
            if (challenge == null)
            {
                throw new ArgumentNullException("challenge");
            }
            if (keyHandle == null)
            {
                throw new ArgumentNullException("keyHandle");
            }

            AppId     = appId;
            Challenge = challenge;
            KeyHandle = keyHandle;
        }