Inheritance: Asn1Encodable
 public TimeStampTokenEvidence(TimeStampAndCrl timeStampAndCrl)
 {
     this.timeStampAndCrls = new TimeStampAndCrl[]
     {
         timeStampAndCrl
     };
 }
        private TimeStampTokenEvidence(Asn1Sequence seq)
        {
            this.timeStampAndCrls = new TimeStampAndCrl[seq.Count];
            int num = 0;

            foreach (Asn1Encodable asn1Encodable in seq)
            {
                this.timeStampAndCrls[num++] = TimeStampAndCrl.GetInstance(asn1Encodable.ToAsn1Object());
            }
        }
Beispiel #3
0
        private TimeStampTokenEvidence(Asn1Sequence seq)
        {
            timeStampAndCrls = new TimeStampAndCrl[seq.Count];
            int num = 0;

            global::System.Collections.IEnumerator enumerator = seq.GetEnumerator();
            try
            {
                while (enumerator.MoveNext())
                {
                    Asn1Encodable asn1Encodable = (Asn1Encodable)enumerator.get_Current();
                    timeStampAndCrls[num++] = TimeStampAndCrl.GetInstance(asn1Encodable.ToAsn1Object());
                }
            }
            finally
            {
                global::System.IDisposable disposable = enumerator as global::System.IDisposable;
                if (disposable != null)
                {
                    disposable.Dispose();
                }
            }
        }
		public TimeStampTokenEvidence(TimeStampAndCrl timeStampAndCrl)
		{
			this.timeStampAndCrls = new TimeStampAndCrl[]{ timeStampAndCrl };
		}
		public TimeStampTokenEvidence(TimeStampAndCrl[] timeStampAndCrls)
		{
			this.timeStampAndCrls = timeStampAndCrls;
		}