public CertificatePoliciesExtension(Boolean critical,List<PolicyInformation> certPolicies) throws IOException {
  this.certPolicies=certPolicies;
  this.extensionId=PKIXExtensions.CertificatePolicies_Id;
  this.critical=critical.booleanValue();
  encodeThis();
}

public CertificatePoliciesExtension ( Boolean critical , List < PolicyInformation > certPolicies ) throws IOException { this . certPolicies = certPolicies ; this . extensionId = PKIXExtensions . CertificatePolicies_Id ; this . critical = critical . booleanValue ( ) ; encodeThis ( ) ; }
create a certificatepoliciesextension object from a list of policyinformation with specified criticality .
