setUseCNPostfix(false); setCNPostfix("");
    public CertificateProfile() {      setCertificateVersion(VERSION_X509V3);      setValidity(730);      setUseBasicConstraints(true);      setBasicConstraintsCritical(true);      setUseSubjectKeyIdentifier(true);      setSubjectKeyIdentifierCritical(false);      setUseAuthorityKeyIdentifier(true);      setAuthorityKeyIdentifierCritical(false);      setUseSubjectAlternativeName(true);      setSubjectAlternativeNameCritical(false);      setUseCRLDistributionPoint(false);      setCRLDistributionPointCritical(false);      setCRLDistributionPointURI("");      setUseCertificatePolicies(false);      setCertificatePoliciesCritical(false);      setCertificatePolicyId("2.5.29.32.0");      setType(TYPE_ENDENTITY);      int[] bitlengths = {512,1024,2048,4096};      setAvailableBitLengths(bitlengths);      setUseKeyUsage(true);      setKeyUsage(new boolean[9]);      setAllowKeyUsageOverride(true);      setKeyUsageCritical(true);      setUseExtendedKeyUsage(false);      setExtendedKeyUsage(new ArrayList());      setExtendedKeyUsageCritical(false);      ArrayList availablecas = new ArrayList();      availablecas.add(new Integer(ANYCA));      setAvailableCAs(availablecas);            setPublisherList(new ArrayList());      	  setUseOCSPServiceLocator(false);	  	  setOCSPServiceLocatorURI("");	  setUseMicrosoftTemplate(false);	  	  setMicrosoftTemplate("");    }