Interface IBasicOCSPResp

  • All Known Implementing Classes:
    BasicOCSPRespBC

    public interface IBasicOCSPResp
    This interface represents the wrapper for BasicOCSPResp that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
    • Method Detail

      • getResponses

        ISingleResp[] getResponses()
        Calls actual getResponses method for the wrapped BasicOCSPResp object.
        Returns:
        wrapped SingleResp list.
      • getCerts

        IX509CertificateHolder[] getCerts()
        Calls actual getCerts method for the wrapped BasicOCSPResp object.
        Returns:
        wrapped certificates list.
      • getEncoded

        byte[] getEncoded()
                   throws java.io.IOException
        Calls actual getEncoded method for the wrapped BasicOCSPResp object.
        Returns:
        the default encoding for the wrapped object.
        Throws:
        java.io.IOException - on encoding error.
      • getProducedAt

        java.util.Date getProducedAt()
        Calls actual getProducedAt method for the wrapped BasicOCSPResp object.
        Returns:
        produced at date.
      • getExtensionParsedValue

        IASN1Encodable getExtensionParsedValue​(IASN1ObjectIdentifier objectIdentifier)
        Gets parsed value of the extension retrieved using actual getExtension method for the wrapped BasicOCSPResp object.
        Parameters:
        objectIdentifier - extension object identifier
        Returns:
        wrapped extension parsed value.