Interface IOCSPReqBuilder

All Known Implementing Classes:
OCSPReqBuilderBC, OCSPReqBuilderBCFips

public interface IOCSPReqBuilder
This interface represents the wrapper for OCSPReqBuilder that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
  • Method Details

    • setRequestExtensions

      IOCSPReqBuilder setRequestExtensions (IExtensions extensions)
      Calls actual setRequestExtensions method for the wrapped OCSPReqBuilder object.
      Parameters:
      extensions - wrapper for extensions to set
      Returns:
      IOCSPReqBuilder this wrapper object.
    • addRequest

      IOCSPReqBuilder addRequest (ICertificateID certificateID)
      Calls actual addRequest method for the wrapped OCSPReqBuilder object.
      Parameters:
      certificateID - CertificateID wrapper
      Returns:
      IOCSPReqBuilder this wrapper object.
    • build

      Calls actual build method for the wrapped OCSPReqBuilder object.
      Returns:
      IOCSPReq wrapper for built OCSPReq object.
      Throws:
      AbstractOCSPException - wrapped OCSPException.