Interface IOCSPRespBuilder

All Known Implementing Classes:
OCSPRespBuilderBC, OCSPRespBuilderBCFips

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

    Modifier and Type
    Method
    Description
    build(int i, IBasicOCSPResp basicOCSPResp)
    Calls actual build method for the wrapped OCSPRespBuilder object.
    int
    Gets SUCCESSFUL constant for the wrapped OCSPRespBuilder.
  • Method Details

    • getSuccessful

      int getSuccessful()
      Gets SUCCESSFUL constant for the wrapped OCSPRespBuilder.
      Returns:
      OCSPRespBuilder.SUCCESSFUL value.
    • build

      IOCSPResp build (int i, IBasicOCSPResp basicOCSPResp) throws AbstractOCSPException
      Calls actual build method for the wrapped OCSPRespBuilder object.
      Parameters:
      i - status
      basicOCSPResp - BasicOCSPResp wrapper
      Returns:
      IOCSPResp the wrapper for built OCSPResp object.
      Throws:
      AbstractOCSPException - OCSPException wrapper.