iText 9.0.0 API
iText.Commons.Bouncycastle.Math.IBigInteger Interface Reference

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

Inheritance diagram for iText.Commons.Bouncycastle.Math.IBigInteger:
iText.Bouncycastle.Math.BigIntegerBC iText.Bouncycastlefips.Math.BigIntegerBCFips

Public Member Functions

int  GetIntValue ()
  Gets integer value for the wrapped BigInteger. More...
 
string  ToString (int radix)
  Calls toString with radix for the wrapped BigInteger. More...
 
IBigInteger  ValueOf (long value)
  Calls ValueOf method for the wrapped BigInteger. More...
 
IBigInteger  Remainder (IBigInteger n)
  Calls Remainder method for the wrapped BigInteger. More...
 

Detailed Description

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

Member Function Documentation

◆ GetIntValue()

int iText.Commons.Bouncycastle.Math.IBigInteger.GetIntValue ( )

Gets integer value for the wrapped BigInteger.

Implemented in iText.Bouncycastle.Math.BigIntegerBC, and iText.Bouncycastlefips.Math.BigIntegerBCFips.

◆ Remainder()

IBigInteger iText.Commons.Bouncycastle.Math.IBigInteger.Remainder ( IBigInteger  n )

Calls Remainder method for the wrapped BigInteger.

Implemented in iText.Bouncycastle.Math.BigIntegerBC, and iText.Bouncycastlefips.Math.BigIntegerBCFips.

◆ ToString()

string iText.Commons.Bouncycastle.Math.IBigInteger.ToString ( int  radix )

Calls toString with radix for the wrapped BigInteger.

Implemented in iText.Bouncycastle.Math.BigIntegerBC, and iText.Bouncycastlefips.Math.BigIntegerBCFips.

◆ ValueOf()

IBigInteger iText.Commons.Bouncycastle.Math.IBigInteger.ValueOf ( long  value )

Calls ValueOf method for the wrapped BigInteger.

Implemented in iText.Bouncycastle.Math.BigIntegerBC, and iText.Bouncycastlefips.Math.BigIntegerBCFips.