1 package org.bouncycastle.x509; 2 3 import java.util.Date; 4 5 class CertStatus 6 { 7 public static final int UNREVOKED = 11; 8 9 public static final int UNDETERMINED = 12; 10 11 int certStatus = UNREVOKED; 12 13 Date revocationDate = null; 14 15 /** 16 * @return Returns the revocationDate. 17 */ getRevocationDate()18 public Date getRevocationDate() 19 { 20 return revocationDate; 21 } 22 23 /** 24 * @param revocationDate The revocationDate to set. 25 */ setRevocationDate(Date revocationDate)26 public void setRevocationDate(Date revocationDate) 27 { 28 this.revocationDate = revocationDate; 29 } 30 31 /** 32 * @return Returns the certStatus. 33 */ getCertStatus()34 public int getCertStatus() 35 { 36 return certStatus; 37 } 38 39 /** 40 * @param certStatus The certStatus to set. 41 */ setCertStatus(int certStatus)42 public void setCertStatus(int certStatus) 43 { 44 this.certStatus = certStatus; 45 } 46 } 47