KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejbca > core > protocol > ocsp > OCSPResponseItem


1 package org.ejbca.core.protocol.ocsp;
2
3 import org.bouncycastle.ocsp.CertificateID;
4 import org.bouncycastle.ocsp.CertificateStatus;
5
6 public class OCSPResponseItem {
7     private CertificateID certID;
8     private CertificateStatus certStatus;
9
10     public OCSPResponseItem(CertificateID certID, CertificateStatus certStatus) {
11         this.certID = certID;
12         this.certStatus = certStatus;
13     }
14
15     public CertificateID getCertID() {
16         return certID;
17     }
18
19     public CertificateStatus getCertStatus() {
20         return certStatus;
21     }
22 }
23
Popular Tags