Interface IBasicOCSPResp

All Known Implementing Classes:
BasicOCSPRespBC, BasicOCSPRespBCFips

public interface IBasicOCSPResp
This interface represents the wrapper for BasicOCSPResp that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
  • Method Summary

    Modifier and Type
    Method
    Description
    Calls actual getCerts method for the wrapped BasicOCSPResp object.
    byte[]
    Calls actual getEncoded method for the wrapped BasicOCSPResp object.
    Calls actual getProducedAt method for the wrapped BasicOCSPResp object.
    Calls actual getResponses method for the wrapped BasicOCSPResp object.
    boolean
    Calls actual isSignatureValid method for the wrapped BasicOCSPResp object.
  • Method Details

    • getResponses

      ISingleResp[] getResponses()
      Calls actual getResponses method for the wrapped BasicOCSPResp object.
      Returns:
      wrapped SingleResp list.
    • isSignatureValid

      boolean isSignatureValid (IContentVerifierProvider provider) throws AbstractOCSPException
      Calls actual isSignatureValid method for the wrapped BasicOCSPResp object.
      Parameters:
      provider - ContentVerifierProvider wrapper
      Returns:
      boolean value.
      Throws:
      AbstractOCSPException - OCSPException wrapper.
    • getCerts

      IX509CertificateHolder[] getCerts()
      Calls actual getCerts method for the wrapped BasicOCSPResp object.
      Returns:
      wrapped certificates list.
    • getEncoded

      byte[] getEncoded() throws IOException
      Calls actual getEncoded method for the wrapped BasicOCSPResp object.
      Returns:
      the default encoding for the wrapped object.
      Throws:
      IOException - on encoding error.
    • getProducedAt

      Date getProducedAt()
      Calls actual getProducedAt method for the wrapped BasicOCSPResp object.
      Returns:
      produced at date.