Org.BouncyCastle.Asn1.Asn1TaggedObject.GetObject C# (CSharp) Méthode

GetObject() public méthode

public GetObject ( ) : Asn1Object
Résultat Asn1Object
        public Asn1Object GetObject()
        {
            if (obj != null)
            {
                return obj.ToAsn1Object();
            }

			return null;
        }

Usage Example

        /**
         * return an Integer from a tagged object.
         *
         * @param obj the tagged object holding the object we want
         * @param explicitly true if the object is meant to be explicitly
         *              tagged false otherwise.
         * @exception ArgumentException if the tagged object cannot
         *               be converted.
         */
        public static DerInteger GetInstance(
            Asn1TaggedObject	obj,
            bool				explicitly)
        {
            if (obj == null)
                throw new ArgumentNullException("obj");

			return GetInstance(obj.GetObject());
        }
All Usage Examples Of Org.BouncyCastle.Asn1.Asn1TaggedObject::GetObject