Пример #1
0
 public OtherCertID[] GetOtherCertIDs()
 {
     OtherCertID[] result = new OtherCertID[otherCertIDs.Count];
     for (int i = 0; i < otherCertIDs.Count; ++i)
     {
         result[i] = OtherCertID.GetInstance(otherCertIDs[i].ToAsn1Object());
     }
     return(result);
 }
Пример #2
0
 public OtherCertID[] GetCerts()
 {
     OtherCertID[] cs = new OtherCertID[certs.Count];
     for (int i = 0; i < certs.Count; ++i)
     {
         cs[i] = OtherCertID.GetInstance(certs[i].ToAsn1Object());
     }
     return(cs);
 }
Пример #3
0
        private CompleteCertificateRefs(
            Asn1Sequence seq)
        {
            if (seq == null)
            {
                throw new ArgumentNullException("seq");
            }

            foreach (Asn1Encodable ae in seq)
            {
                OtherCertID.GetInstance(ae.ToAsn1Object());
            }

            this.otherCertIDs = seq;
        }