NBitcoin.BouncyCastle.Crypto.Parameters.ECDomainParameters.Equals C# (CSharp) Method

Equals() protected method

protected Equals ( ECDomainParameters other ) : bool
other ECDomainParameters
return bool
		protected bool Equals(
			ECDomainParameters other)
		{
			return curve.Equals(other.curve)
				&& g.Equals(other.g)
				&& n.Equals(other.n)
				&& h.Equals(other.h)
				&& Arrays.AreEqual(seed, other.seed);
		}

Same methods

ECDomainParameters::Equals ( object obj ) : bool

Usage Example

示例#1
0
 protected bool Equals(
     ECKeyParameters other)
 {
     return(parameters.Equals(other.parameters) && base.Equals(other));
 }