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); }
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); }
private CompleteCertificateRefs( Asn1Sequence seq) { if (seq == null) throw new ArgumentNullException("seq"); foreach (Asn1Encodable ae in seq) { OtherCertID.GetInstance(ae.ToAsn1Object()); } this.otherCertIDs = seq; }