C# Class Org.BouncyCastle.Math.BigInteger

Afficher le fichier Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Méthodes publiques

Свойство Type Description
One BigInteger
Ten BigInteger
Three BigInteger
Two BigInteger
Zero BigInteger

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Abs ( ) : BigInteger
Résultat BigInteger

Add() public méthode

public Add ( BigInteger value ) : BigInteger
value BigInteger
Résultat BigInteger

And() public méthode

public And ( BigInteger value ) : BigInteger
value BigInteger
Résultat BigInteger

AndNot() public méthode

public AndNot ( BigInteger val ) : BigInteger
val BigInteger
Résultat BigInteger

BigInteger() public méthode

public BigInteger ( byte bytes ) : System
bytes byte
Résultat System

BigInteger() public méthode

public BigInteger ( byte bytes, int offset, int length ) : System
bytes byte
offset int
length int
Résultat System

BigInteger() public méthode

public BigInteger ( int sizeInBits, Random random ) : System
sizeInBits int
random System.Random
Résultat System

BigInteger() public méthode

public BigInteger ( int sign, byte bytes ) : System
sign int
bytes byte
Résultat System

BigInteger() public méthode

public BigInteger ( int sign, byte bytes, int offset, int length ) : System
sign int
bytes byte
offset int
length int
Résultat System

BigInteger() public méthode

public BigInteger ( int bitLength, int certainty, Random random ) : System
bitLength int
certainty int
random System.Random
Résultat System

BigInteger() public méthode

public BigInteger ( string value ) : System
value string
Résultat System

BigInteger() public méthode

public BigInteger ( string str, int radix ) : System
str string
radix int
Résultat System

ClearBit() public méthode

public ClearBit ( int n ) : BigInteger
n int
Résultat BigInteger

CompareTo() public méthode

public CompareTo ( BigInteger value ) : int
value BigInteger
Résultat int

CompareTo() public méthode

public CompareTo ( object obj ) : int
obj object
Résultat int

Divide() public méthode

public Divide ( BigInteger val ) : BigInteger
val BigInteger
Résultat BigInteger

DivideAndRemainder() public méthode

public DivideAndRemainder ( BigInteger val ) : Org.BouncyCastle.Math.BigInteger[]
val BigInteger
Résultat Org.BouncyCastle.Math.BigInteger[]

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

FlipBit() public méthode

public FlipBit ( int n ) : BigInteger
n int
Résultat BigInteger

Gcd() public méthode

public Gcd ( BigInteger value ) : BigInteger
value BigInteger
Résultat BigInteger

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetLowestSetBit() public méthode

public GetLowestSetBit ( ) : int
Résultat int

IsProbablePrime() public méthode

public IsProbablePrime ( int certainty ) : bool
certainty int
Résultat bool

Max() public méthode

public Max ( BigInteger value ) : BigInteger
value BigInteger
Résultat BigInteger

Min() public méthode

public Min ( BigInteger value ) : BigInteger
value BigInteger
Résultat BigInteger

Mod() public méthode

public Mod ( BigInteger m ) : BigInteger
m BigInteger
Résultat BigInteger

ModInverse() public méthode

public ModInverse ( BigInteger m ) : BigInteger
m BigInteger
Résultat BigInteger

ModPow() public méthode

public ModPow ( BigInteger exponent, BigInteger m ) : BigInteger
exponent BigInteger
m BigInteger
Résultat BigInteger

Multiply() public méthode

public Multiply ( BigInteger val ) : BigInteger
val BigInteger
Résultat BigInteger

Negate() public méthode

public Negate ( ) : BigInteger
Résultat BigInteger

NextProbablePrime() public méthode

public NextProbablePrime ( ) : BigInteger
Résultat BigInteger

Not() public méthode

public Not ( ) : BigInteger
Résultat BigInteger

Or() public méthode

public Or ( BigInteger value ) : BigInteger
value BigInteger
Résultat BigInteger

Pow() public méthode

public Pow ( int exp ) : BigInteger
exp int
Résultat BigInteger

ProbablePrime() public static méthode

public static ProbablePrime ( int bitLength, Random random ) : BigInteger
bitLength int
random System.Random
Résultat BigInteger

Remainder() public méthode

public Remainder ( BigInteger n ) : BigInteger
n BigInteger
Résultat BigInteger

SetBit() public méthode

public SetBit ( int n ) : BigInteger
n int
Résultat BigInteger

ShiftLeft() public méthode

public ShiftLeft ( int n ) : BigInteger
n int
Résultat BigInteger

ShiftRight() public méthode

public ShiftRight ( int n ) : BigInteger
n int
Résultat BigInteger

Subtract() public méthode

public Subtract ( BigInteger n ) : BigInteger
n BigInteger
Résultat BigInteger

TestBit() public méthode

public TestBit ( int n ) : bool
n int
Résultat bool

ToByteArray() public méthode

public ToByteArray ( ) : byte[]
Résultat byte[]

ToByteArrayUnsigned() public méthode

public ToByteArrayUnsigned ( ) : byte[]
Résultat byte[]

ToString() public méthode

public ToString ( ) : string
Résultat string

ToString() public méthode

public ToString ( int radix ) : string
radix int
Résultat string

ValueOf() public static méthode

public static ValueOf ( long value ) : BigInteger
value long
Résultat BigInteger

Xor() public méthode

public Xor ( BigInteger value ) : BigInteger
value BigInteger
Résultat BigInteger

Property Details

One public_oe static_oe property

public static BigInteger,Org.BouncyCastle.Math One
Résultat BigInteger

Ten public_oe static_oe property

public static BigInteger,Org.BouncyCastle.Math Ten
Résultat BigInteger

Three public_oe static_oe property

public static BigInteger,Org.BouncyCastle.Math Three
Résultat BigInteger

Two public_oe static_oe property

public static BigInteger,Org.BouncyCastle.Math Two
Résultat BigInteger

Zero public_oe static_oe property

public static BigInteger,Org.BouncyCastle.Math Zero
Résultat BigInteger