use of com.venafi.vcert.sdk.connectors.cloud.domain.CertificateIssuingTemplate in project vcert-java by Venafi.
the class CloudPolicyToPolicyConverter method processPolicy.
private void processPolicy(PolicySpecification policySpecification, CloudPolicy cloudPolicy) throws Exception {
CertificateIssuingTemplate cit = cloudPolicy.certificateIssuingTemplate();
processDomainsAndWildcard(policySpecification, cit, cloudPolicy.removeRegexesFromSubjectCN());
processMaxValidDays(policySpecification, cit);
processCertificateAuthority(policySpecification, cloudPolicy.caInfo());
processSubject(policySpecification, cloudPolicy);
processKeyPair(policySpecification, cloudPolicy);
processSubjectAltNames(policySpecification, cloudPolicy);
}
Aggregations