Interface OcspRequestor

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.bouncycastle.cert.ocsp.OCSPResp ask​(org.xipki.security.X509Cert issuerCert, BigInteger[] serialNumbers, URL responderUrl, RequestOptions requestOptions, org.xipki.util.ReqRespDebug debug)
      Asks for the status of the given certificates.
      org.bouncycastle.cert.ocsp.OCSPResp ask​(org.xipki.security.X509Cert issuerCert, BigInteger serialNumber, URL responderUrl, RequestOptions requestOptions, org.xipki.util.ReqRespDebug debug)
      Asks for the status of the given certificate.
      org.bouncycastle.cert.ocsp.OCSPResp ask​(org.xipki.security.X509Cert issuerCert, org.xipki.security.X509Cert[] certs, URL responderUrl, RequestOptions requestOptions, org.xipki.util.ReqRespDebug debug)
      Asks for the status of the given certificate.
      org.bouncycastle.cert.ocsp.OCSPResp ask​(org.xipki.security.X509Cert issuerCert, org.xipki.security.X509Cert cert, URL responderUrl, RequestOptions requestOptions, org.xipki.util.ReqRespDebug debug)
      Asks for the status of the given certificate.
    • Method Detail

      • ask

        org.bouncycastle.cert.ocsp.OCSPResp ask​(org.xipki.security.X509Cert issuerCert,
                                                org.xipki.security.X509Cert cert,
                                                URL responderUrl,
                                                RequestOptions requestOptions,
                                                org.xipki.util.ReqRespDebug debug)
                                         throws OcspResponseException,
                                                OcspRequestorException
        Asks for the status of the given certificate.
        Parameters:
        issuerCert - Issuer certificate. Must not be null.
        cert - Target certificate. Must not be null.
        responderUrl - Responder URL. Must not be null.
        requestOptions - Request options. Must not be null.
        debug - Request/response debug control. Could be null.
        Returns:
        the OCSP response.
        Throws:
        OcspRequestorException - if cannot build the OCSP request
        OcspResponseException - if the OCSP responder cannot be reached or the response does not match the requested certificate.
      • ask

        org.bouncycastle.cert.ocsp.OCSPResp ask​(org.xipki.security.X509Cert issuerCert,
                                                org.xipki.security.X509Cert[] certs,
                                                URL responderUrl,
                                                RequestOptions requestOptions,
                                                org.xipki.util.ReqRespDebug debug)
                                         throws OcspResponseException,
                                                OcspRequestorException
        Asks for the status of the given certificate.
        Parameters:
        issuerCert - Issuer certificate. Must not be null.
        certs - Target certificates. Must not be null.
        responderUrl - Responder URL. Must not be null.
        requestOptions - Request options. Must not be null.
        debug - Request/response debug control. Could be null.
        Returns:
        the OCSP response.
        Throws:
        OcspRequestorException - if cannot build the OCSP request
        OcspResponseException - if the OCSP responder cannot be reached or the response does not match the requested certificate.
      • ask

        org.bouncycastle.cert.ocsp.OCSPResp ask​(org.xipki.security.X509Cert issuerCert,
                                                BigInteger serialNumber,
                                                URL responderUrl,
                                                RequestOptions requestOptions,
                                                org.xipki.util.ReqRespDebug debug)
                                         throws OcspResponseException,
                                                OcspRequestorException
        Asks for the status of the given certificate.
        Parameters:
        issuerCert - Issuer certificate. Must not be null.
        serialNumber - Serial number of the target certificate. Must not be null.
        responderUrl - Responder URL. Must not be null.
        requestOptions - Request options. Must not be null.
        debug - Request/response debug control. Could be null.
        Returns:
        the OCSP response.
        Throws:
        OcspRequestorException - if cannot build the OCSP request
        OcspResponseException - if the OCSP responder cannot be reached or the response does not match the requested certificate.
      • ask

        org.bouncycastle.cert.ocsp.OCSPResp ask​(org.xipki.security.X509Cert issuerCert,
                                                BigInteger[] serialNumbers,
                                                URL responderUrl,
                                                RequestOptions requestOptions,
                                                org.xipki.util.ReqRespDebug debug)
                                         throws OcspResponseException,
                                                OcspRequestorException
        Asks for the status of the given certificates.
        Parameters:
        issuerCert - Issuer certificate. Must not be null.
        serialNumbers - Serial numbers of the target certificates. Must not be null.
        responderUrl - Responder URL. Must not be null.
        requestOptions - Request options. Must not be null.
        debug - Request/response debug control. Could be null.
        Returns:
        the OCSP response.
        Throws:
        OcspRequestorException - if cannot build the OCSP request
        OcspResponseException - if the OCSP responder cannot be reached or the response does not match the requested certificates.