iText 8.0.5 API
iText.Commons.Bouncycastle.Cert.Ocsp.IOcspRequest Interface Reference

This interface represents the wrapper for OCSPReq that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations. More...

Inheritance diagram for iText.Commons.Bouncycastle.Cert.Ocsp.IOcspRequest:
iText.Bouncycastle.Cert.Ocsp.OcspReqBC iText.Bouncycastlefips.Cert.Ocsp.OcspRequestBCFips

Public Member Functions

byte[]  GetEncoded ()
  Calls actual getEncoded method for the wrapped OCSPReq object. More...
 
IReq[]  GetRequestList ()
  Calls actual GetRequestList method for the wrapped OCSPReq object. More...
 
IX509Extension  GetExtension (IDerObjectIdentifier objectIdentifier)
 

Detailed Description

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

Member Function Documentation

◆ GetEncoded()

byte [] iText.Commons.Bouncycastle.Cert.Ocsp.IOcspRequest.GetEncoded ( )

Calls actual getEncoded method for the wrapped OCSPReq object.

Returns
the default encoding for the wrapped object.

Implemented in iText.Bouncycastle.Cert.Ocsp.OcspReqBC, and iText.Bouncycastlefips.Cert.Ocsp.OcspRequestBCFips.

◆ GetExtension()

IX509Extension iText.Commons.Bouncycastle.Cert.Ocsp.IOcspRequest.GetExtension ( IDerObjectIdentifier  objectIdentifier )

Calls actual GetExtension method for the RequestExtensions field of the wrapped OCSPReq object.

Returns
Extension wrapper.

Implemented in iText.Bouncycastle.Cert.Ocsp.OcspReqBC, and iText.Bouncycastlefips.Cert.Ocsp.OcspRequestBCFips.

◆ GetRequestList()

IReq [] iText.Commons.Bouncycastle.Cert.Ocsp.IOcspRequest.GetRequestList ( )

Calls actual GetRequestList method for the wrapped OCSPReq object.

Returns
the array of the wrapped Req objects.

Implemented in iText.Bouncycastle.Cert.Ocsp.OcspReqBC, and iText.Bouncycastlefips.Cert.Ocsp.OcspRequestBCFips.