Interface IOCSPReq

All Known Implementing Classes:
OCSPReqBC, OCSPReqBCFips

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 Summary

    Modifier and Type
    Method
    Description
    byte[]
    Calls actual getEncoded method for the wrapped OCSPReq object.
    getExtension(IASN1ObjectIdentifier objectIdentifier)
    Calls actual getExtension method for the wrapped OCSPReq object.
    IReq[]
    Calls actual getRequestList method for the wrapped OCSPReq object.
  • Method Details

    • getEncoded

      byte[] getEncoded() throws IOException
      Calls actual getEncoded method for the wrapped OCSPReq object.
      Returns:
      the default encoding for the wrapped object.
      Throws:
      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.