public SigningCertificateV2( EssCertIDv2[] certs, PolicyInformation[] policies) { this.certs = new DerSequence(certs); if (policies != null) { this.policies = new DerSequence(policies); } }
public PolicyInformation[] GetPolicies() { if (policies == null) return null; PolicyInformation[] policyInformations = new PolicyInformation[policies.Count]; for (int i = 0; i != policies.Count; i++) { policyInformations[i] = PolicyInformation.GetInstance(policies[i]); } return policyInformations; }
public PolicyInformation[] GetPolicies() { if (policies == null) return null; PolicyInformation[] ps = new PolicyInformation[policies.Count]; for (int i = 0; i < policies.Count; ++i) { ps[i] = PolicyInformation.GetInstance(policies[i].ToAsn1Object()); } return ps; }