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); }
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[] 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 OtherSigningCertificate( OtherCertID[] certs, params PolicyInformation[] policies) { if (certs == null) throw new ArgumentNullException("certs"); this.certs = new DerSequence(certs); if (policies != null) { this.policies = new DerSequence(policies); } }
private CompleteCertificateRefs( Asn1Sequence seq) { if (seq == null) { throw new ArgumentNullException("seq"); } foreach (Asn1Encodable ae in seq) { OtherCertID.GetInstance(ae.ToAsn1Object()); } this.otherCertIDs = seq; }
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; }