iText 9.8.0 API
iText.Commons.Bouncycastle.Asn1.Util.IAsn1Dump Interface Reference

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

Inheritance diagram for iText.Commons.Bouncycastle.Asn1.Util.IAsn1Dump:
iText.Bouncycastle.Asn1.Util.Asn1DumpBC iText.Bouncycastlefips.Asn1.Util.Asn1DumpBCFips

Public Member Functions

String  DumpAsString (Object obj, bool b)
  Calls actual dumpAsString method for the wrapped ASN1Dump object. More...
 
String  DumpAsString (Object obj)
  Calls actual dumpAsString method for the wrapped ASN1Dump object. More...
 

Detailed Description

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

Member Function Documentation

◆ DumpAsString() [1/2]

String iText.Commons.Bouncycastle.Asn1.Util.IAsn1Dump.DumpAsString ( Object  obj )

Calls actual dumpAsString method for the wrapped ASN1Dump object.

Parameters
obj the ASN1Primitive (or its wrapper) to be dumped out
Returns
the resulting string.

Implemented in iText.Bouncycastlefips.Asn1.Util.Asn1DumpBCFips, and iText.Bouncycastle.Asn1.Util.Asn1DumpBC.

◆ DumpAsString() [2/2]

String iText.Commons.Bouncycastle.Asn1.Util.IAsn1Dump.DumpAsString ( Object  obj,
bool  b 
)

Calls actual dumpAsString method for the wrapped ASN1Dump object.

Parameters
obj the ASN1Primitive (or its wrapper) to be dumped out
b if true, dump out the contents of octet and bit strings
Returns
the resulting string.

Implemented in iText.Bouncycastlefips.Asn1.Util.Asn1DumpBCFips, and iText.Bouncycastle.Asn1.Util.Asn1DumpBC.