Interface IOCSPReq

  • All Known Implementing Classes:
    OCSPReqBC

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

      • getEncoded

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

        IReq[] getRequestList()
        Calls actual getRequestList method for the wrapped OCSPReq object.
        Returns:
        IReq request wrappers list.
      • getExtension

        IExtension getExtension​(IASN1ObjectIdentifier objectIdentifier)
        Calls actual getExtension method for the wrapped OCSPReq object.
        Parameters:
        objectIdentifier - ASN1ObjectIdentifier wrapper
        Returns:
        IExtension wrapper for received Extension.