Interface OcspClient

All Known Implementing Classes:
OcspClientBouncyCastle

public interface OcspClient
Interface for the OCSP Client
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    getEncoded(X509Certificate checkCert, X509Certificate rootCert, String url)
    Gets an encoded byte array with OCSP validation.
  • Method Details

    • getEncoded

      byte[] getEncoded(X509Certificate checkCert, X509Certificate rootCert, String url)
      Gets an encoded byte array with OCSP validation. The method should not throw an exception.
      Parameters:
      checkCert - to certificate to check
      rootCert - the parent certificate
      url - the url to get the verification. It it's null it will be taken from the check cert or from other implementation specific source
      Returns:
      a byte array with the validation or null if the validation could not be obtained