Interface IOcspClientBouncyCastle

  • All Superinterfaces:
    IOcspClient
    All Known Implementing Classes:
    OcspClientBouncyCastle

    public interface IOcspClientBouncyCastle
    extends IOcspClient
    Interface for the Online Certificate Status Protocol (OCSP) Client. With a method returning parsed IBasicOCSPResp instead of encoded response.
    • Method Detail

      • getBasicOCSPResp

        IBasicOCSPResp getBasicOCSPResp​(java.security.cert.X509Certificate checkCert,
                                        java.security.cert.X509Certificate rootCert,
                                        java.lang.String url)
        Gets OCSP response.

        If required, IBasicOCSPResp can be checked using OCSPValidator class.

        Parameters:
        checkCert - the certificate to check
        rootCert - parent certificate
        url - to get the verification
        Returns:
        IBasicOCSPResp an OCSP response wrapper