Beispiel #1
0
        /**
         * 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);
        }
Beispiel #2
0
        public override bool Equals(
            object o)
        {
            if ((o == null) || !(o is ASN1Encodable))
            {
                return(false);
            }

            ASN1Encodable other = (ASN1Encodable)o;

            return(this.toASN1Object().Equals(other.toASN1Object()));
        }
Beispiel #3
0
 public BEROctetString(ASN1Encodable obj) : base(obj.toASN1Object())
 {
 }