01: package org.bouncycastle.jce.provider;
02:
03: import java.util.Date;
04:
05: class CertStatus {
06: public static final int UNREVOKED = 11;
07:
08: public static final int UNDETERMINED = 12;
09:
10: int certStatus = UNREVOKED;
11:
12: Date revocationDate = null;
13:
14: /**
15: * @return Returns the revocationDate.
16: */
17: public Date getRevocationDate() {
18: return revocationDate;
19: }
20:
21: /**
22: * @param revocationDate The revocationDate to set.
23: */
24: public void setRevocationDate(Date revocationDate) {
25: this .revocationDate = revocationDate;
26: }
27:
28: /**
29: * @return Returns the certStatus.
30: */
31: public int getCertStatus() {
32: return certStatus;
33: }
34:
35: /**
36: * @param certStatus The certStatus to set.
37: */
38: public void setCertStatus(int certStatus) {
39: this.certStatus = certStatus;
40: }
41: }
|