Class OCSPRespBuilderBC

  • All Implemented Interfaces:
    IOCSPRespBuilder

    public class OCSPRespBuilderBC
    extends java.lang.Object
    implements IOCSPRespBuilder
    Wrapper class for OCSPRespBuilder.
    • Constructor Summary

      Constructors 
      Constructor Description
      OCSPRespBuilderBC​(org.bouncycastle.cert.ocsp.OCSPRespBuilder ocspRespBuilder)
      Creates new wrapper instance for OCSPRespBuilder.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IOCSPResp build​(int i, IBasicOCSPResp basicOCSPResp)
      Calls actual build method for the wrapped OCSPRespBuilder object.
      boolean equals​(java.lang.Object o)
      Indicates whether some other object is "equal to" this one.
      static OCSPRespBuilderBC getInstance()
      Gets wrapper instance.
      org.bouncycastle.cert.ocsp.OCSPRespBuilder getOcspRespBuilder()
      Gets actual org.bouncycastle object being wrapped.
      int getSuccessful()
      Gets SUCCESSFUL constant for the wrapped OCSPRespBuilder.
      int hashCode()
      Returns a hash code value based on the wrapped object.
      java.lang.String toString()
      Delegates toString method call to the wrapped object.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • ocspRespBuilder

        private final org.bouncycastle.cert.ocsp.OCSPRespBuilder ocspRespBuilder
    • Constructor Detail

      • OCSPRespBuilderBC

        public OCSPRespBuilderBC​(org.bouncycastle.cert.ocsp.OCSPRespBuilder ocspRespBuilder)
        Creates new wrapper instance for OCSPRespBuilder.
        Parameters:
        ocspRespBuilder - OCSPRespBuilder to be wrapped
    • Method Detail

      • getOcspRespBuilder

        public org.bouncycastle.cert.ocsp.OCSPRespBuilder getOcspRespBuilder()
        Gets actual org.bouncycastle object being wrapped.
        Returns:
        wrapped OCSPRespBuilder.
      • getSuccessful

        public int getSuccessful()
        Gets SUCCESSFUL constant for the wrapped OCSPRespBuilder.
        Specified by:
        getSuccessful in interface IOCSPRespBuilder
        Returns:
        OCSPRespBuilder.SUCCESSFUL value.
      • equals

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

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

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