GSF.Security.Authentication.SrpUserCredential.SrpUserCredential C# (CSharp) Method

SrpUserCredential() public method

Creates user credentials
public SrpUserCredential ( string username, byte verification, byte salt, int iterations, SrpStrength srpStrength ) : System
username string
verification byte
salt byte
iterations int
srpStrength SrpStrength
return System
        public SrpUserCredential(string username, byte[] verification, byte[] salt, int iterations, SrpStrength srpStrength)
        {
            UserName = username;
            UsernameBytes = Encoding.UTF8.GetBytes(username);
            Salt = salt;
            Verification = verification;
            Iterations = iterations;
            SrpStrength = srpStrength;
            VerificationInteger = new BigInteger(1, verification);
        }

Same methods

SrpUserCredential::SrpUserCredential ( string username, string password, SrpStrength strength = SrpStrength.Bits1024, int saltSize = 32, int iterations = 4000 ) : System