private ServerFirstMessage(IterationsAttribute iterations, NonceAttribute nonce, SaltAttribute salt) { Iterations = iterations; Nonce = nonce; Salt = salt; }
/// <summary> /// Initializes a new instance of the <see cref="ServerFirstMessage"/> class. /// </summary> /// <param name="iterations">Iterations to use when hashing the password.</param> /// <param name="nonce">String value of the server nonce.</param> /// <param name="salt">String value of the password salt.</param> public ServerFirstMessage(int iterations, string nonce, string salt) { Iterations = new IterationsAttribute(iterations); Nonce = new NonceAttribute(nonce); Salt = new SaltAttribute(salt); }