Interface IOCSPResp

All Known Implementing Classes:
OCSPRespBC, OCSPRespBCFips

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

    Modifier and Type
    Method
    Description
    byte[]
    Calls actual getEncoded method for the wrapped OCSPResp object.
    Calls actual getResponseObject method for the wrapped OCSPResp object.
    int
    Calls actual getStatus method for the wrapped OCSPResp object.
    int
    Gets SUCCESSFUL constant for the wrapped OCSPResp.
  • Method Details

    • getEncoded

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

      int getStatus()
      Calls actual getStatus method for the wrapped OCSPResp object.
      Returns:
      status value.
    • getResponseObject

      Object getResponseObject() throws AbstractOCSPException
      Calls actual getResponseObject method for the wrapped OCSPResp object.
      Returns:
      response object.
      Throws:
      AbstractOCSPException - wrapped OCSPException.
    • getSuccessful

      int getSuccessful()
      Gets SUCCESSFUL constant for the wrapped OCSPResp.
      Returns:
      OCSPResp.SUCCESSFUL value.