Interface OCSPDataLoader
- All Known Implementing Classes:
DefaultRevocationDataConnector
public interface OCSPDataLoader
-
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.cert.ocsp.OCSPResp
requestOCSPResponse
(String url, org.bouncycastle.cert.ocsp.OCSPReq ocspReq, int connectTimeout, int readTimeout) Get an OCSP response from the
-
Method Details
-
requestOCSPResponse
org.bouncycastle.cert.ocsp.OCSPResp requestOCSPResponse(String url, org.bouncycastle.cert.ocsp.OCSPReq ocspReq, int connectTimeout, int readTimeout) throws IOException Get an OCSP response from the- Parameters:
url
- OCSP request URLocspReq
- OCSP request to send to the OCSP responderconnectTimeout
- max time in milliseconds allowed for an HTTP connectreadTimeout
- max time in milliseconds allowed for reading the referenced data object- Returns:
- OCSP Response
- Throws:
IOException
- Error sending or receiving data
-