Class OCSPResponseStructure
java.lang.Object
eu.emi.security.authn.x509.helpers.ocsp.OCSPResponseStructure
Holds OCSP response (parsed) and some additional metadata, e.g. extracted from HTTP headers.
- Author:
- K. Benedyczak
-
Constructor Summary
ConstructorsConstructorDescriptionOCSPResponseStructure
(org.bouncycastle.cert.ocsp.OCSPResp response, Date maxCache) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.cert.ocsp.OCSPResp
void
setMaxCache
(Date maxCache) void
setResponse
(org.bouncycastle.cert.ocsp.OCSPResp response)
-
Constructor Details
-
OCSPResponseStructure
- Parameters:
response
- OSCP responsemaxCache
- max cache date
-
-
Method Details
-
getResponse
public org.bouncycastle.cert.ocsp.OCSPResp getResponse()- Returns:
- the response
-
setResponse
public void setResponse(org.bouncycastle.cert.ocsp.OCSPResp response) - Parameters:
response
- the response to set
-
getMaxCache
- Returns:
- the maxCache
-
setMaxCache
- Parameters:
maxCache
- the maxCache to set
-