iText 9.1.0 API
iText.Commons.Bouncycastle.Asn1.Ocsp.IOcspResponse Interface Reference

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

Inheritance diagram for iText.Commons.Bouncycastle.Asn1.Ocsp.IOcspResponse:
iText.Commons.Bouncycastle.Asn1.IAsn1Encodable iText.Bouncycastle.Asn1.Ocsp.OcspResponseBC iText.Bouncycastlefips.Asn1.Ocsp.OcspResponseBCFips

Public Member Functions

byte[]  GetEncoded ()
  Calls actual GetEncoded method for the wrapped OCSPResponse object. More...
 
int  GetStatus ()
  Calls actual GetStatus method for the wrapped OCSPResponse object. More...
 
object  GetResponseObject ()
  Calls actual GetResponseObject method for the wrapped OCSPResponse object. More...
 
int  GetSuccessful ()
  Gets SUCCESSFUL constant for the wrapped OCSPResp. More...
 
- Public Member Functions inherited from iText.Commons.Bouncycastle.Asn1.IAsn1Encodable
IAsn1Object  ToASN1Primitive ()
  Calls actual toASN1Primitive method for the wrapped ASN1Encodable object. More...
 
bool  IsNull ()
  Checks if wrapped object is null. More...
 

Detailed Description

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

Member Function Documentation

◆ GetEncoded()

byte [] iText.Commons.Bouncycastle.Asn1.Ocsp.IOcspResponse.GetEncoded ( )

Calls actual GetEncoded method for the wrapped OCSPResponse object.

Returns
the default encoding for the wrapped object.

Implemented in iText.Bouncycastle.Asn1.Ocsp.OcspResponseBC, and iText.Bouncycastlefips.Asn1.Ocsp.OcspResponseBCFips.

◆ GetResponseObject()

object iText.Commons.Bouncycastle.Asn1.Ocsp.IOcspResponse.GetResponseObject ( )

Calls actual GetResponseObject method for the wrapped OCSPResponse object.

Returns
response object.

Implemented in iText.Bouncycastle.Asn1.Ocsp.OcspResponseBC, and iText.Bouncycastlefips.Asn1.Ocsp.OcspResponseBCFips.

◆ GetStatus()

int iText.Commons.Bouncycastle.Asn1.Ocsp.IOcspResponse.GetStatus ( )

Calls actual GetStatus method for the wrapped OCSPResponse object.

Returns
status value.

Implemented in iText.Bouncycastle.Asn1.Ocsp.OcspResponseBC, and iText.Bouncycastlefips.Asn1.Ocsp.OcspResponseBCFips.

◆ GetSuccessful()

int iText.Commons.Bouncycastle.Asn1.Ocsp.IOcspResponse.GetSuccessful ( )

Gets SUCCESSFUL constant for the wrapped OCSPResp.

Returns
OCSPResp.SUCCESSFUL value.

Implemented in iText.Bouncycastle.Asn1.Ocsp.OcspResponseBC, and iText.Bouncycastlefips.Asn1.Ocsp.OcspResponseBCFips.