1 13 14 package org.ejbca.core.model.ca.certificateprofiles; 15 16 17 23 public class XKMSCertificateProfile extends CertificateProfile{ 24 25 27 public static final String CERTIFICATEPROFILENAME = "XKMSCERT"; 28 29 34 public XKMSCertificateProfile() { 35 36 setType(TYPE_ENDENTITY); 37 38 setUseKeyUsage(true); 41 setKeyUsage(new boolean[9]); 42 setKeyUsage(DIGITALSIGNATURE,true); 43 setKeyUsage(KEYENCIPHERMENT,true); 44 setKeyUsage(DATAENCIPHERMENT,true); 45 setKeyUsageCritical(true); 46 47 48 } 49 50 public void upgrade(){ 52 if(Float.compare(LATEST_VERSION, getVersion()) != 0) { 53 55 super.upgrade(); 56 } 57 } 58 59 60 } 62 | Popular Tags |