Uses of Class java.math.BigInteger

Uses in package java.math

Constructors with parameter type java.math.BigInteger

Constructs a BigDecimal whose unscaled value is num and whose scale is zero.
BigDecimal.BigDecimal(BigInteger num, int scale)
Constructs a BigDecimal whose unscaled value is num and whose scale is scale.
Constructs a BigDecimal using the BigDecimal(BigInteger, int) constructor and then rounds according to the MathContext.
Constructs a BigDecimal whose value is given by num rounded according to mc.

Fields of type java.math.BigInteger

BigInteger
The constant one as a BigInteger.
BigInteger
The constant ten as a BigInteger.
BigInteger
The constant zero as a BigInteger.

Methods with parameter type java.math.BigInteger

BigInteger
BigInteger
Return the logical (bit-wise) "and" of two BigIntegers.
BigInteger
int
BigInteger
BigInteger[]
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
Return the logical (bit-wise) "(inclusive) or" of two BigIntegers.
BigInteger
BigInteger
BigInteger
Return the logical (bit-wise) "exclusive or" of two BigIntegers.

Methods with return type java.math.BigInteger

BigInteger
BigInteger
BigInteger
Return the logical (bit-wise) "and" of two BigIntegers.
BigInteger
BigInteger
BigInteger
BigInteger[]
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
Return the logical (bit-wise) negation of a BigInteger.
BigInteger
Return the logical (bit-wise) "(inclusive) or" of two BigIntegers.
BigInteger
BigInteger.pow(int exponent)
Calculate the integral power of a BigInteger.
BigInteger
BigInteger.probablePrime(int bitLength, Random rnd)
Return a BigInteger that is bitLength bits long with a probability <322^-100 of being composite.
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
Converts this BigDecimal to a BigInteger.
BigInteger
Converts this BigDecimal into a BigInteger, throwing an ArithmeticException if the conversion is not exact.
BigInteger
BigInteger
BigInteger.valueOf(long val)
Return a (possibly-shared) BigInteger with a given long value.
BigInteger
Return the logical (bit-wise) "exclusive or" of two BigIntegers.

Uses in package java.awt.image

Constructors with parameter type java.math.BigInteger

IndexColorModel.IndexColorModel(int bits, int size, int[] cmap, int start, int transferType, BigInteger validBits)
Construct an IndexColorModel using a colormap with holes.

Methods with return type java.math.BigInteger

BigInteger
Returns a binary value (BigInteger) where each bit represents an entry in the color lookup table.

Uses in package javax.crypto.spec

Constructors with parameter type java.math.BigInteger

Create a new set of Diffie-Hellman parameters.
Create a new set of Diffie-Hellman parameters.
Create a new Diffie-Hellman private key spec.
Create a new Diffie-Hellman public key spec.

Methods with return type java.math.BigInteger

BigInteger
Get the base generator, g.
BigInteger
Get the base generator.
BigInteger
Get the base generator.
BigInteger
Get the prime modulus, p.
BigInteger
Get the prime modulus.
BigInteger
Get the prime modulus.
BigInteger
Get the private exponent.
BigInteger
Get the public value.

Uses in package javax.security.cert

Methods with return type java.math.BigInteger

BigInteger
Returns this certificate's serial number.

Uses in package java.security.spec

Constructors with parameter type java.math.BigInteger

Constructs a new DSAParameterSpec with the specified p, q, and g.
Constructs a new DSAPrivateKeySpec with the specified x, p, q, and g.
Constructs a new DSAPublicKeySpec with the specified y, p, q, and g.
Create a new RSAKeyGenParameterSpec to store the RSA key's keysize and public exponent
RSAMultiPrimePrivateCrtKeySpec.RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo[] otherPrimeInfo)
Constructs a new instance of RSAMultiPrimePrivateCrtKeySpec given the various PKCS#1 v2.1 parameters.
RSAOtherPrimeInfo.RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
Constructs a new RSAOtherPrimeInfo given the PKCS#1 MPIs.
RSAPrivateCrtKeySpec.RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient)
Constructs a new RSAPrivateKeySpec with the specified variables.
Constructs a new RSAPrivateKeySpec with the specified modulus and privateExponent.
Constructs a new RSAPublicKeySpec with the specified modulus and publicExponent.

Fields of type java.math.BigInteger

BigInteger
Public Exponent F0 = 3
BigInteger
Public Exponent F4 = 3

Methods with return type java.math.BigInteger

BigInteger
Returns the CRT Coefficient q-1 mod p.
BigInteger
Returns the CRT Coefficient.
BigInteger
Gets the RSA CRT coefficient.
BigInteger
Returns the prime's exponent.
BigInteger
Returns g for the DSA algorithm.
BigInteger
Returns g for the DSA algorithm.
BigInteger
Returns g for the DSA algorithm.
BigInteger
Gets the RSA modulus.
BigInteger
Gets the RSA modulus.
BigInteger
Returns p for the DSA algorithm.
BigInteger
Returns p for the DSA algorithm.
BigInteger
Returns p for the DSA algorithm.
BigInteger
Returns the prime.
BigInteger
Returns d mod (p-1).
BigInteger
Gets the RSA prime exponent P.
BigInteger
Returns d mod (q-1).
BigInteger
Gets the RSA prime exponent P.
BigInteger
Returns the prime p.
BigInteger
Gets the RSA prime P.
BigInteger
Returns the prime q.
BigInteger
Gets the RSA prime Q.
BigInteger
Gets the RSA private exponent.
BigInteger
Return the public exponent.
BigInteger
Returns the public exponent.
BigInteger
Gets the RSA public exponent.
BigInteger
Gets the RSA public exponent.
BigInteger
Returns p for the DSA algorithm.
BigInteger
Returns p for the DSA algorithm.
BigInteger
Returns p for the DSA algorithm.
BigInteger
Returns private key x for the DSA algorithm.
BigInteger
Returns public key y for the DSA algorithm.

Uses in package java.security.interfaces

Methods with return type java.math.BigInteger

BigInteger
Returns the CRT Coefficient.
BigInteger
Returns the CRT coefficient
BigInteger
Returns the base, or 'g' value
BigInteger
Generates a modulus.
BigInteger
Returns the prime, or 'p' value
BigInteger
Returns the prime's exponent p.
BigInteger
Returns the primeExponentP
BigInteger
Returns the prime's exponent q.
BigInteger
Returns the primeExponentQ
BigInteger
Returns the prime p.
BigInteger
Returns the primeP value
BigInteger
Returns the prime q.
BigInteger
Returns the primeQ value
BigInteger
Returns the private exponent value for this key
BigInteger
Returns the public exponent.
BigInteger
Returns the public exponent for this key
BigInteger
Returns the public exponent value for this key
BigInteger
Returns the subprime, or 'q' value
BigInteger
This method returns the value of the DSA private key
BigInteger
This method returns the value of the DSA public key

Uses in package javax.xml.datatype

Methods with parameter type java.math.BigInteger

Duration
DatatypeFactory.newDuration(boolean isPositive, BigInteger years, BigInteger months, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds)
Returns a new duration by specifying the individual components.
Duration
DatatypeFactory.newDurationDayTime(boolean isPositive, BigInteger days, BigInteger hours, BigInteger minutes, BigInteger seconds)
Returns a new dayTimeDuration by specifying the individual components.
Duration
DatatypeFactory.newDurationYearMonth(boolean isPositive, BigInteger years, BigInteger months)
Returns a new yearMonthDuration by specifying the individual components.
XMLGregorianCalendar
DatatypeFactory.newXMLGregorianCalendar(BigInteger year, int month, int day, int hour, int minute, int second, BigDecimal fractionalSecond, int timezone)
Returns a new XMLGregorianCalendar with the specified components.
void

Methods with return type java.math.BigInteger

BigInteger
BigInteger

Uses in package java.security.cert

Methods with parameter type java.math.BigInteger

X509CRLEntry
Gets the requeste dX509Entry for the specified certificate serial number.
void
Sets the maximum value of the CRLNumber extension present in CRLs matched by this selector.
void
Sets the minimum value of the CRLNumber extension present in CRLs matched by this selector.
void
Sets the serial number of the desired certificate.

Methods with return type java.math.BigInteger

BigInteger
Returns the maximum value of the CRLNumber extension present in CRLs matched by this selector, or null if this criteria is not set.
BigInteger
Returns the minimum value of the CRLNumber extension present in CRLs matched by this selector, or null if this criteria is not set.
BigInteger
Gets the serial number for serial Number in this Certifcate.
BigInteger
Returns the serial number criterion, or null if this value was not set.
BigInteger
Gets the serial number for userCertificate in this X509CRLEntry.

Uses in package javax.crypto.interfaces

Methods with return type java.math.BigInteger

BigInteger
Returns the private value x.
BigInteger
Get the public value y.