Class OCSPReqBuilderBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.cert.ocsp.OCSPReqBuilderBCFips
All Implemented Interfaces:
IOCSPReqBuilder

public class OCSPReqBuilderBCFips extends Object implements IOCSPReqBuilder
Wrapper class for OCSPReqBuilder.
  • Constructor Details

    • OCSPReqBuilderBCFips

      public OCSPReqBuilderBCFips (org.bouncycastle.cert.ocsp.OCSPReqBuilder reqBuilder)
      Creates new wrapper instance for OCSPReqBuilder.
      Parameters:
      reqBuilder - OCSPReqBuilder to be wrapped
  • Method Details

    • getReqBuilder

      public org.bouncycastle.cert.ocsp.OCSPReqBuilder getReqBuilder()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped OCSPReqBuilder.
    • setRequestExtensions

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

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

      public IOCSPReq build() throws OCSPExceptionBCFips
      Calls actual build method for the wrapped OCSPReqBuilder object.
      Specified by:
      build in interface IOCSPReqBuilder
      Returns:
      IOCSPReq wrapper for built OCSPReq object.
      Throws:
      OCSPExceptionBCFips
    • equals

      public boolean equals (Object o)
      Indicates whether some other object is "equal to" this one. Compares wrapped objects.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Returns a hash code value based on the wrapped object.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Delegates toString method call to the wrapped object.
      Overrides:
      toString in class Object