1 13 14 package org.ejbca.core.model.ca.catoken; 15 16 import java.io.Serializable ; 17 18 23 public class SoftCATokenInfo extends CATokenInfo implements Serializable { 24 25 private String signkeyspec = "1024"; 26 private String enckeyspec = "1024"; 27 private String signalgorithm = KEYALGORITHM_RSA; 28 private String encalgorithm = KEYALGORITHM_RSA; 29 30 31 public SoftCATokenInfo(){} 32 33 36 public String getSignKeySpec(){ return signkeyspec; } 37 40 public void setSignKeySpec(String keyspec){ this.signkeyspec = keyspec; } 41 44 public String getEncKeySpec(){ return enckeyspec; } 45 48 public void setEncKeySpec(String keyspec){ this.enckeyspec = keyspec; } 49 50 53 public String getSignKeyAlgorithm(){ return signalgorithm; } 54 55 58 public void setSignKeyAlgorithm(String algorithm){ this.signalgorithm = algorithm; } 59 63 public String getEncKeyAlgorithm(){ return encalgorithm; } 64 65 69 public void setEncKeyAlgorithm(String algorithm){ this.encalgorithm = algorithm; } 70 } 71 | Popular Tags |