Inheritance: Asn1Encodable
Ejemplo n.º 1
0
		public OtherInfo(
            KeySpecificInfo	keyInfo,
            Asn1OctetString	partyAInfo,
            Asn1OctetString	suppPubInfo)
        {
            this.keyInfo = keyInfo;
            this.partyAInfo = partyAInfo;
            this.suppPubInfo = suppPubInfo;
        }
Ejemplo n.º 2
0
 public OtherInfo(
     KeySpecificInfo keyInfo,
     Asn1OctetString partyAInfo,
     Asn1OctetString suppPubInfo)
 {
     this.keyInfo     = keyInfo;
     this.partyAInfo  = partyAInfo;
     this.suppPubInfo = suppPubInfo;
 }
Ejemplo n.º 3
0
 public OtherInfo(Asn1Sequence seq)
 {
     global::System.Collections.IEnumerator enumerator = seq.GetEnumerator();
     enumerator.MoveNext();
     keyInfo = new KeySpecificInfo((Asn1Sequence)enumerator.get_Current());
     while (enumerator.MoveNext())
     {
         DerTaggedObject derTaggedObject = (DerTaggedObject)enumerator.get_Current();
         if (derTaggedObject.TagNo == 0)
         {
             partyAInfo = (Asn1OctetString)derTaggedObject.GetObject();
         }
         else if (derTaggedObject.TagNo == 2)
         {
             suppPubInfo = (Asn1OctetString)derTaggedObject.GetObject();
         }
     }
 }
Ejemplo n.º 4
0
        public OtherInfo(Asn1Sequence seq)
        {
            IEnumerator enumerator = seq.GetEnumerator();

            enumerator.MoveNext();
            this.keyInfo = new KeySpecificInfo((Asn1Sequence)enumerator.Current);
            while (enumerator.MoveNext())
            {
                DerTaggedObject derTaggedObject = (DerTaggedObject)enumerator.Current;
                if (derTaggedObject.TagNo == 0)
                {
                    this.partyAInfo = (Asn1OctetString)derTaggedObject.GetObject();
                }
                else if (derTaggedObject.TagNo == 2)
                {
                    this.suppPubInfo = (Asn1OctetString)derTaggedObject.GetObject();
                }
            }
        }
Ejemplo n.º 5
0
		public OtherInfo(
            Asn1Sequence seq)
        {
            IEnumerator e = seq.GetEnumerator();

			e.MoveNext();
            keyInfo = new KeySpecificInfo((Asn1Sequence) e.Current);

			while (e.MoveNext())
            {
                DerTaggedObject o = (DerTaggedObject) e.Current;

				if (o.TagNo == 0)
                {
                    partyAInfo = (Asn1OctetString) o.GetObject();
                }
                else if ((int) o.TagNo == 2)
                {
                    suppPubInfo = (Asn1OctetString) o.GetObject();
                }
            }
        }
Ejemplo n.º 6
0
        public OtherInfo(
            Asn1Sequence seq)
        {
            IEnumerator e = seq.GetEnumerator();

            e.MoveNext();
            keyInfo = new KeySpecificInfo((Asn1Sequence)e.Current);

            while (e.MoveNext())
            {
                DerTaggedObject o = (DerTaggedObject)e.Current;

                if (o.TagNo == 0)
                {
                    partyAInfo = (Asn1OctetString)o.GetObject();
                }
                else if ((int)o.TagNo == 2)
                {
                    suppPubInfo = (Asn1OctetString)o.GetObject();
                }
            }
        }