Class OcspLookup


  • public final class OcspLookup
    extends Object
    Online Certificate Status Protocol (OCSP) is an automated certificate checking network protocol. One can query an OCSP responder for the status of a certificate. The responder returns whether the certificate is still trusted by the CA that issued it.
    See Also:
    Internet Engineering Task Force (IETF) RFC6960
    • Field Detail

      • uri

        public final URI uri
      • certificateId

        public final org.bouncycastle.cert.ocsp.CertificateID certificateId
    • Method Detail

      • executeUsing

        public OcspResult executeUsing​(org.apache.http.impl.client.CloseableHttpClient client)
        Execute the OCSP lookup request.
        Parameters:
        client - the http client to use for executing the lookup request.
        Returns:
        the result of the OCSP lookup.