public class OCSPResponseStructure
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
maxCache |
private org.bouncycastle.cert.ocsp.OCSPResp |
response |
Constructor and Description |
---|
OCSPResponseStructure(org.bouncycastle.cert.ocsp.OCSPResp response,
java.util.Date maxCache) |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getMaxCache() |
org.bouncycastle.cert.ocsp.OCSPResp |
getResponse() |
void |
setMaxCache(java.util.Date maxCache) |
void |
setResponse(org.bouncycastle.cert.ocsp.OCSPResp response) |
private org.bouncycastle.cert.ocsp.OCSPResp response
private java.util.Date maxCache
public OCSPResponseStructure(org.bouncycastle.cert.ocsp.OCSPResp response, java.util.Date maxCache)
response
- OSCP responsemaxCache
- max cache datepublic org.bouncycastle.cert.ocsp.OCSPResp getResponse()
public void setResponse(org.bouncycastle.cert.ocsp.OCSPResp response)
response
- the response to setpublic java.util.Date getMaxCache()
public void setMaxCache(java.util.Date maxCache)
maxCache
- the maxCache to set