상속: Asn1Object
예제 #1
0
        protected override bool Asn1Equals(
            Asn1Object obj)
        {
            DerUnknownTag other = obj as DerUnknownTag;

            if (other == null)
            {
                return(false);
            }

            return(this.tag == other.tag &&
                   Arrays.AreEqual(this.data, other.data));
        }
예제 #2
0
        protected override bool Asn1Equals(
            Asn1Object asn1Object)
        {
            DerUnknownTag other = asn1Object as DerUnknownTag;

            if (other == null)
            {
                return(false);
            }

            return(this.isConstructed == other.isConstructed &&
                   this.tag == other.tag &&
                   Arrays.AreEqual(this.data, other.data));
        }
예제 #3
0
		protected override bool Asn1Equals(Asn1Object asn1Object)
		{
			DerUnknownTag derUnknownTag = asn1Object as DerUnknownTag;
			return derUnknownTag != null && (this.isConstructed == derUnknownTag.isConstructed && this.tag == derUnknownTag.tag) && Arrays.AreEqual(this.data, derUnknownTag.data);
		}