iText 9.1.0 API
iText.Bouncycastle.Math.BigIntegerBC Class Reference

Wrapper class for Org.BouncyCastle.Math.BigInteger. More...

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

Public Member Functions

  BigIntegerBC (BigInteger bigInteger)
  Creates new wrapper instance for Org.BouncyCastle.Math.BigInteger. More...
 
virtual BigInteger  GetBigInteger ()
  Gets actual org.bouncycastle object being wrapped. More...
 
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...
 
override bool  Equals (Object o)
  Indicates whether some other object is "equal to" this one. Compares wrapped objects. More...
 
override int  GetHashCode ()
  Returns a hash code value based on the wrapped object. More...
 
override String  ToString ()
  Delegates toString method call to the wrapped object. More...
 

Static Public Member Functions

static BigIntegerBC  GetInstance ()
  Gets wrapper instance. More...
 

Detailed Description

Wrapper class for Org.BouncyCastle.Math.BigInteger.

Constructor & Destructor Documentation

◆ BigIntegerBC()

iText.Bouncycastle.Math.BigIntegerBC.BigIntegerBC ( BigInteger  bigInteger )
inline

Creates new wrapper instance for Org.BouncyCastle.Math.BigInteger.

Parameters
bigInteger Org.BouncyCastle.Math.BigInteger to be wrapped

Member Function Documentation

◆ Equals()

override bool iText.Bouncycastle.Math.BigIntegerBC.Equals ( Object  o )
inline

Indicates whether some other object is "equal to" this one. Compares wrapped objects.

◆ GetBigInteger()

virtual BigInteger iText.Bouncycastle.Math.BigIntegerBC.GetBigInteger ( )
inlinevirtual

Gets actual org.bouncycastle object being wrapped.

Returns
wrapped Org.BouncyCastle.Math.BigInteger.

◆ GetHashCode()

override int iText.Bouncycastle.Math.BigIntegerBC.GetHashCode ( )
inline

Returns a hash code value based on the wrapped object.

◆ GetInstance()

static BigIntegerBC iText.Bouncycastle.Math.BigIntegerBC.GetInstance ( )
inlinestatic

Gets wrapper instance.

Returns

BigIntegerBC instance.

◆ GetIntValue()

int iText.Bouncycastle.Math.BigIntegerBC.GetIntValue ( )
inline

Gets integer value for the wrapped BigInteger.

Implements iText.Commons.Bouncycastle.Math.IBigInteger.

◆ Remainder()

IBigInteger iText.Bouncycastle.Math.BigIntegerBC.Remainder ( IBigInteger  n )
inline

Calls Remainder method for the wrapped BigInteger.

Implements iText.Commons.Bouncycastle.Math.IBigInteger.

◆ ToString() [1/2]

override String iText.Bouncycastle.Math.BigIntegerBC.ToString ( )
inline

Delegates toString method call to the wrapped object.

◆ ToString() [2/2]

string iText.Bouncycastle.Math.BigIntegerBC.ToString ( int  radix )
inline

Calls toString with radix for the wrapped BigInteger.

Implements iText.Commons.Bouncycastle.Math.IBigInteger.

◆ ValueOf()

IBigInteger iText.Bouncycastle.Math.BigIntegerBC.ValueOf ( long  value )
inline

Calls ValueOf method for the wrapped BigInteger.

Implements iText.Commons.Bouncycastle.Math.IBigInteger.