Interface IOCSPResp

  • All Known Implementing Classes:
    OCSPRespBC

    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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      byte[] getEncoded()
      Calls actual getEncoded method for the wrapped OCSPResp object.
      java.lang.Object getResponseObject()
      Calls actual getResponseObject method for the wrapped OCSPResp object.
      int getStatus()
      Calls actual getStatus method for the wrapped OCSPResp object.
      int getSuccessful()
      Gets SUCCESSFUL constant for the wrapped OCSPResp.
    • Method Detail

      • getEncoded

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

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

        java.lang.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.