1 13 14 package org.ejbca.core.model.ca.store; 15 16 import java.io.Serializable ; 17 import java.util.Date ; 18 19 24 public class CRLInfo implements Serializable { 25 26 protected String subjectdn; 27 protected int lastcrlnumber; 28 protected Date thisupdate; 29 protected Date nextupdate; 30 31 public CRLInfo(String subjectdn, int lastcrlnumber, long thisupdate, long nextupdate){ 32 this.subjectdn = subjectdn; 33 this.lastcrlnumber = lastcrlnumber; 34 this.thisupdate = new Date (thisupdate); 35 this.nextupdate = new Date (nextupdate); 36 } 37 38 public String getSubjectDN() {return subjectdn;} 39 public int getLastCRLNumber() { return lastcrlnumber; } 40 public Date getCreateDate() { return thisupdate; } 41 public Date getExpireDate() { return nextupdate; } 42 43 } 44 | Popular Tags |