protected override bool Asn1Equals(Asn1Object asn1Object) { DerT61String str = asn1Object as DerT61String; if (str == null) { return(false); } return(this.str.Equals(str.str)); }
protected override bool Asn1Equals(Asn1Object asn1Object) { DerT61String derT61String = asn1Object as DerT61String; if (derT61String == null) { return(false); } return(str.Equals(derT61String.str)); }
public static DerT61String GetInstance(Asn1TaggedObject obj, bool isExplicit) { Asn1Object @object = obj.GetObject(); if (isExplicit || @object is DerT61String) { return(DerT61String.GetInstance(@object)); } return(new DerT61String(Asn1OctetString.GetInstance(@object).GetOctets())); }
protected override bool Asn1Equals( Asn1Object obj) { DerT61String other = obj as DerT61String; if (other == null) { return(false); } return(this.str.Equals(other.str)); }
protected override bool Asn1Equals(Asn1Object asn1Object) { DerT61String derT61String = asn1Object as DerT61String; return(derT61String != null && this.str.Equals(derT61String.str)); }