/** * return whatever was following the tag. * <p> * Note: tagged objects are generally context dependent if you're * trying to extract a tagged object you should be going via the * appropriate getInstance method. */ public ASN1Object getObject() { if (obj != null) { return(obj.toASN1Object()); } return(null); }
public override bool Equals( object o) { if ((o == null) || !(o is ASN1Encodable)) { return(false); } ASN1Encodable other = (ASN1Encodable)o; return(this.toASN1Object().Equals(other.toASN1Object())); }
public BEROctetString(ASN1Encodable obj) : base(obj.toASN1Object()) { }