Class BasicOCSPRespBuilderBC

    • Field Detail

      • basicOCSPRespBuilder

        private final org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder basicOCSPRespBuilder
    • Constructor Detail

      • BasicOCSPRespBuilderBC

        public BasicOCSPRespBuilderBC​(org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder basicOCSPRespBuilder)
        Creates new wrapper instance for BasicOCSPRespBuilder.
        Parameters:
        basicOCSPRespBuilder - BasicOCSPRespBuilder to be wrapped
      • BasicOCSPRespBuilderBC

        public BasicOCSPRespBuilderBC​(IRespID respID)
        Creates new wrapper instance for BasicOCSPRespBuilder.
        Parameters:
        respID - RespID wrapper to create BasicOCSPRespBuilder to be wrapped
    • Method Detail

      • getBasicOCSPRespBuilder

        public org.bouncycastle.cert.ocsp.BasicOCSPRespBuilder getBasicOCSPRespBuilder()
        Gets actual org.bouncycastle object being wrapped.
        Returns:
        wrapped BasicOCSPRespBuilder.
      • addResponse

        public IBasicOCSPRespBuilder addResponse​(ICertificateID certID,
                                                 ICertificateStatus certificateStatus,
                                                 java.util.Date time,
                                                 java.util.Date time1,
                                                 IExtensions extensions)
        Calls actual addResponse method for the wrapped BasicOCSPRespBuilder object.
        Specified by:
        addResponse in interface IBasicOCSPRespBuilder
        Parameters:
        certID - wrapped certificate ID details
        certificateStatus - wrapped status of the certificate - wrapped null if okay
        time - date this response was valid on
        time1 - date when next update should be requested
        extensions - optional wrapped extensions
        Returns:
        IBasicOCSPRespBuilder this wrapper object.
      • 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