1 13 14 package org.ejbca.core.model.ca.catoken; 15 16 import java.io.Serializable ; 17 18 23 public abstract class CATokenInfo extends CATokenConstants implements Serializable { 24 25 34 private static final long serialVersionUID = -8484441028763008079L; 35 36 37 private String signaturealgoritm = SIGALG_SHA1_WITH_RSA; 38 39 private String encryptionalgoritm = SIGALG_SHA1_WITH_RSA; 40 41 public CATokenInfo(){} 42 43 46 public String getSignatureAlgorithm(){ return signaturealgoritm; } 47 50 public void setSignatureAlgorithm(String signaturealgoritm){ this.signaturealgoritm=signaturealgoritm;} 51 54 public String getEncryptionAlgorithm(){ return encryptionalgoritm; } 55 58 public void setEncryptionAlgorithm(String encryptionalgoritm){ this.encryptionalgoritm=encryptionalgoritm;} 59 60 } 61 | Popular Tags |