C# Class Org.BouncyCastle.Math.BigInteger

Datei anzeigen Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Public Properties

Property Type Description
One BigInteger
Ten BigInteger
Three BigInteger
Two BigInteger
Zero BigInteger

Public Methods

Method Description
Abs ( ) : BigInteger
Add ( BigInteger value ) : BigInteger
And ( BigInteger value ) : BigInteger
AndNot ( BigInteger val ) : BigInteger
BigInteger ( byte bytes ) : System
BigInteger ( byte bytes, int offset, int length ) : System
BigInteger ( int sizeInBits, Random random ) : System
BigInteger ( int sign, byte bytes ) : System
BigInteger ( int sign, byte bytes, int offset, int length ) : System
BigInteger ( int bitLength, int certainty, Random random ) : System
BigInteger ( string value ) : System
BigInteger ( string str, int radix ) : System
ClearBit ( int n ) : BigInteger
CompareTo ( BigInteger value ) : int
CompareTo ( object obj ) : int
Divide ( BigInteger val ) : BigInteger
DivideAndRemainder ( BigInteger val ) : Org.BouncyCastle.Math.BigInteger[]
Equals ( object obj ) : bool
FlipBit ( int n ) : BigInteger
Gcd ( BigInteger value ) : BigInteger
GetHashCode ( ) : int
GetLowestSetBit ( ) : int
IsProbablePrime ( int certainty ) : bool
Max ( BigInteger value ) : BigInteger
Min ( BigInteger value ) : BigInteger
Mod ( BigInteger m ) : BigInteger
ModInverse ( BigInteger m ) : BigInteger
ModPow ( BigInteger exponent, BigInteger m ) : BigInteger
Multiply ( BigInteger val ) : BigInteger
Negate ( ) : BigInteger
NextProbablePrime ( ) : BigInteger
Not ( ) : BigInteger
Or ( BigInteger value ) : BigInteger
Pow ( int exp ) : BigInteger
ProbablePrime ( int bitLength, Random random ) : BigInteger
Remainder ( BigInteger n ) : BigInteger
SetBit ( int n ) : BigInteger
ShiftLeft ( int n ) : BigInteger
ShiftRight ( int n ) : BigInteger
Subtract ( BigInteger n ) : BigInteger
TestBit ( int n ) : bool
ToByteArray ( ) : byte[]
ToByteArrayUnsigned ( ) : byte[]
ToString ( ) : string
ToString ( int radix ) : string
ValueOf ( long value ) : BigInteger
Xor ( BigInteger value ) : BigInteger

Private Methods

Method Description
AddMagnitudes ( int a, int b ) : int[]
AddToMagnitude ( int magToAdd ) : BigInteger
BigInteger ( ) : System
BigInteger ( int signum, int mag, bool checkMag ) : System
BitLen ( int w ) : int
CheckProbablePrime ( int certainty, Random random ) : bool
CompareNoLeadingZeroes ( int xIndx, int x, int yIndx, int y ) : int
CompareTo ( int xIndx, int x, int yIndx, int y ) : int
Divide ( int x, int y ) : int[]
ExtEuclid ( BigInteger a, BigInteger b, BigInteger &u1Out ) : BigInteger
FastExtEuclid ( long a, long b, long uOut ) : long
FastModInverse ( long v, long m ) : long
FlipExistingBit ( int n ) : BigInteger
GetByteLength ( int nBits ) : int
GetMQuote ( ) : long
Inc ( ) : BigInteger
LastNBits ( int n ) : int[]
MakeMagnitude ( byte bytes, int offset, int length ) : int[]
Multiply ( int x, int y, int z ) : int[]
MultiplyMonty ( int a, int x, int y, int m, long mQuote ) : void
MultiplyMontyNIsOne ( uint x, uint y, uint m, ulong mQuote ) : uint
QuickPow2Check ( ) : bool
RabinMillerTest ( int certainty, Random random ) : bool
Remainder ( int m ) : int
Remainder ( int x, int y ) : int[]
ShiftLeft ( int mag, int n ) : int[]
ShiftRightInPlace ( int start, int mag, int n ) : void
ShiftRightOneInPlace ( int start, int mag ) : void
Square ( int w, int x ) : int[]
Subtract ( int xStart, int x, int yStart, int y ) : int[]
ToByteArray ( bool unsigned ) : byte[]
ZeroOut ( int x ) : void
calcBitLength ( int indx, int mag ) : int
createUValueOf ( ulong value ) : BigInteger
createValueOf ( long value ) : BigInteger
doSubBigLil ( int bigMag, int lilMag ) : int[]

Method Details

Abs() public method

public Abs ( ) : BigInteger
return BigInteger

Add() public method

public Add ( BigInteger value ) : BigInteger
value BigInteger
return BigInteger

And() public method

public And ( BigInteger value ) : BigInteger
value BigInteger
return BigInteger

AndNot() public method

public AndNot ( BigInteger val ) : BigInteger
val BigInteger
return BigInteger

BigInteger() public method

public BigInteger ( byte bytes ) : System
bytes byte
return System

BigInteger() public method

public BigInteger ( byte bytes, int offset, int length ) : System
bytes byte
offset int
length int
return System

BigInteger() public method

public BigInteger ( int sizeInBits, Random random ) : System
sizeInBits int
random System.Random
return System

BigInteger() public method

public BigInteger ( int sign, byte bytes ) : System
sign int
bytes byte
return System

BigInteger() public method

public BigInteger ( int sign, byte bytes, int offset, int length ) : System
sign int
bytes byte
offset int
length int
return System

BigInteger() public method

public BigInteger ( int bitLength, int certainty, Random random ) : System
bitLength int
certainty int
random System.Random
return System

BigInteger() public method

public BigInteger ( string value ) : System
value string
return System

BigInteger() public method

public BigInteger ( string str, int radix ) : System
str string
radix int
return System

ClearBit() public method

public ClearBit ( int n ) : BigInteger
n int
return BigInteger

CompareTo() public method

public CompareTo ( BigInteger value ) : int
value BigInteger
return int

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

Divide() public method

public Divide ( BigInteger val ) : BigInteger
val BigInteger
return BigInteger

DivideAndRemainder() public method

public DivideAndRemainder ( BigInteger val ) : Org.BouncyCastle.Math.BigInteger[]
val BigInteger
return Org.BouncyCastle.Math.BigInteger[]

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FlipBit() public method

public FlipBit ( int n ) : BigInteger
n int
return BigInteger

Gcd() public method

public Gcd ( BigInteger value ) : BigInteger
value BigInteger
return BigInteger

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetLowestSetBit() public method

public GetLowestSetBit ( ) : int
return int

IsProbablePrime() public method

public IsProbablePrime ( int certainty ) : bool
certainty int
return bool

Max() public method

public Max ( BigInteger value ) : BigInteger
value BigInteger
return BigInteger

Min() public method

public Min ( BigInteger value ) : BigInteger
value BigInteger
return BigInteger

Mod() public method

public Mod ( BigInteger m ) : BigInteger
m BigInteger
return BigInteger

ModInverse() public method

public ModInverse ( BigInteger m ) : BigInteger
m BigInteger
return BigInteger

ModPow() public method

public ModPow ( BigInteger exponent, BigInteger m ) : BigInteger
exponent BigInteger
m BigInteger
return BigInteger

Multiply() public method

public Multiply ( BigInteger val ) : BigInteger
val BigInteger
return BigInteger

Negate() public method

public Negate ( ) : BigInteger
return BigInteger

NextProbablePrime() public method

public NextProbablePrime ( ) : BigInteger
return BigInteger

Not() public method

public Not ( ) : BigInteger
return BigInteger

Or() public method

public Or ( BigInteger value ) : BigInteger
value BigInteger
return BigInteger

Pow() public method

public Pow ( int exp ) : BigInteger
exp int
return BigInteger

ProbablePrime() public static method

public static ProbablePrime ( int bitLength, Random random ) : BigInteger
bitLength int
random System.Random
return BigInteger

Remainder() public method

public Remainder ( BigInteger n ) : BigInteger
n BigInteger
return BigInteger

SetBit() public method

public SetBit ( int n ) : BigInteger
n int
return BigInteger

ShiftLeft() public method

public ShiftLeft ( int n ) : BigInteger
n int
return BigInteger

ShiftRight() public method

public ShiftRight ( int n ) : BigInteger
n int
return BigInteger

Subtract() public method

public Subtract ( BigInteger n ) : BigInteger
n BigInteger
return BigInteger

TestBit() public method

public TestBit ( int n ) : bool
n int
return bool

ToByteArray() public method

public ToByteArray ( ) : byte[]
return byte[]

ToByteArrayUnsigned() public method

public ToByteArrayUnsigned ( ) : byte[]
return byte[]

ToString() public method

public ToString ( ) : string
return string

ToString() public method

public ToString ( int radix ) : string
radix int
return string

ValueOf() public static method

public static ValueOf ( long value ) : BigInteger
value long
return BigInteger

Xor() public method

public Xor ( BigInteger value ) : BigInteger
value BigInteger
return BigInteger

Property Details

One public_oe static_oe property

public static BigInteger,Org.BouncyCastle.Math One
return BigInteger

Ten public_oe static_oe property

public static BigInteger,Org.BouncyCastle.Math Ten
return BigInteger

Three public_oe static_oe property

public static BigInteger,Org.BouncyCastle.Math Three
return BigInteger

Two public_oe static_oe property

public static BigInteger,Org.BouncyCastle.Math Two
return BigInteger

Zero public_oe static_oe property

public static BigInteger,Org.BouncyCastle.Math Zero
return BigInteger