Org.BouncyCastle.Asn1.DerUniversalString.Asn1Equals C# (CSharp) Method

Asn1Equals() protected method

protected Asn1Equals ( Asn1Object asn1Object ) : bool
asn1Object Asn1Object
return bool
		protected override bool Asn1Equals(
			Asn1Object asn1Object)
		{
			DerUniversalString other = asn1Object as DerUniversalString;

			if (other == null)
				return false;

//			return this.GetString().Equals(other.GetString());
			return Arrays.AreEqual(this.str, other.str);
        }
    }