Interface OCSPDataLoader

All Known Implementing Classes:
DefaultRevocationDataConnector

public interface OCSPDataLoader
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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 URL
      ocspReq - OCSP request to send to the OCSP responder
      connectTimeout - max time in milliseconds allowed for an HTTP connect
      readTimeout - max time in milliseconds allowed for reading the referenced data object
      Returns:
      OCSP Response
      Throws:
      IOException - Error sending or receiving data