Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.2
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.math.BigInteger

Packages that use BigInteger
java.awt.image | Provides classes for creating and modifying images.
java.math | Provides classes for performing arbitrary-precision integer arithmetic (BigInteger) and arbitrary-precision decimal arithmetic (BigDecimal).
java.security.cert | Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
java.security.interfaces | Provides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST's FIPS-186.
java.security.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications.
javax.crypto.interfaces | Provides interfaces for Diffie-Hellman keys as defined in RSA Laboratories' PKCS #3.
javax.crypto.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications.
javax.security.cert | Provides classes for public key certificates.

Uses of BigInteger in java.awt.image

Methods in java.awt.image that return BigInteger
`BigInteger` | `IndexColorModel.getValidPixels()` Returns a `BigInteger` that indicates the valid/invalid pixels in the colormap.

Constructors in java.awt.image with parameters of type BigInteger
`IndexColorModel(int bits, int size, int[] cmap, int start, int transferType, BigInteger validBits)` Constructs an `IndexColorModel` from an `int` array where each `int` is comprised of red, green, blue, and alpha components in the default RGB color model format.

Uses of BigInteger in java.math

Fields in java.math declared as BigInteger
`static BigInteger` | `BigInteger.ZERO` The BigInteger constant zero.
`static BigInteger` | `BigInteger.ONE` The BigInteger constant one.

Methods in java.math that return BigInteger
`BigInteger` | `BigDecimal.unscaledValue()` Returns a BigInteger whose value is the unscaled value of this BigDecimal.
`BigInteger` | `BigDecimal.toBigInteger()` Converts this BigDecimal to a BigInteger.
`static BigInteger` | `BigInteger.probablePrime(int bitLength, Random rnd)` Returns a positive BigInteger that is probably prime, with the specified bitLength.
`static BigInteger` | `BigInteger.valueOf(long val)` Returns a BigInteger whose value is equal to that of the specified `long`.
`BigInteger` | `BigInteger.add(BigInteger val)` Returns a BigInteger whose value is `(this + val)`.
`BigInteger` | `BigInteger.subtract(BigInteger val)` Returns a BigInteger whose value is `(this - val)`.
`BigInteger` | `BigInteger.multiply(BigInteger val)` Returns a BigInteger whose value is `(this * val)`.
`BigInteger` | `BigInteger.divide(BigInteger val)` Returns a BigInteger whose value is `(this / val)`.
`BigInteger[]` | `BigInteger.divideAndRemainder(BigInteger val)` Returns an array of two BigIntegers containing `(this / val)` followed by `(this % val)`.
`BigInteger` | `BigInteger.remainder(BigInteger val)` Returns a BigInteger whose value is `(this % val)`.
`BigInteger` | `BigInteger.pow(int exponent)` Returns a BigInteger whose value is `(thisexponent)`.
`BigInteger` | `BigInteger.gcd(BigInteger val)` Returns a BigInteger whose value is the greatest common divisor of `abs(this)` and `abs(val)`.
`BigInteger` | `BigInteger.abs()` Returns a BigInteger whose value is the absolute value of this BigInteger.
`BigInteger` | `BigInteger.negate()` Returns a BigInteger whose value is `(-this)`.
`BigInteger` | `BigInteger.mod(BigInteger m)` Returns a BigInteger whose value is `(this mod m`).
`BigInteger` | `BigInteger.modPow(BigInteger exponent, BigInteger m)` Returns a BigInteger whose value is `(thisexponent mod m)`.
`BigInteger` | `BigInteger.modInverse(BigInteger m)` Returns a BigInteger whose value is `(this-1 mod m)`.
`BigInteger` | `BigInteger.shiftLeft(int n)` Returns a BigInteger whose value is `(this << n)`.
`BigInteger` | `BigInteger.shiftRight(int n)` Returns a BigInteger whose value is `(this >> n)`.
`BigInteger` | `BigInteger.and(BigInteger val)` Returns a BigInteger whose value is `(this & val)`.
`BigInteger` | `BigInteger.or(BigInteger val)` Returns a BigInteger whose value is `(this | val)`.
`BigInteger` | `BigInteger.xor(BigInteger val)` Returns a BigInteger whose value is `(this ^ val)`.
`BigInteger` | `BigInteger.not()` Returns a BigInteger whose value is `(~this)`.
`BigInteger` | `BigInteger.andNot(BigInteger val)` Returns a BigInteger whose value is `(this & ~val)`.
`BigInteger` | `BigInteger.setBit(int n)` Returns a BigInteger whose value is equivalent to this BigInteger with the designated bit set.
`BigInteger` | `BigInteger.clearBit(int n)` Returns a BigInteger whose value is equivalent to this BigInteger with the designated bit cleared.
`BigInteger` | `BigInteger.flipBit(int n)` Returns a BigInteger whose value is equivalent to this BigInteger with the designated bit flipped.
`BigInteger` | `BigInteger.min(BigInteger val)` Returns the minimum of this BigInteger and `val`.
`BigInteger` | `BigInteger.max(BigInteger val)` Returns the maximum of this BigInteger and `val`.

Methods in java.math with parameters of type BigInteger
`BigInteger` | `BigInteger.add(BigInteger val)` Returns a BigInteger whose value is `(this + val)`.
`BigInteger` | `BigInteger.subtract(BigInteger val)` Returns a BigInteger whose value is `(this - val)`.
`BigInteger` | `BigInteger.multiply(BigInteger val)` Returns a BigInteger whose value is `(this * val)`.
`BigInteger` | `BigInteger.divide(BigInteger val)` Returns a BigInteger whose value is `(this / val)`.
`BigInteger[]` | `BigInteger.divideAndRemainder(BigInteger val)` Returns an array of two BigIntegers containing `(this / val)` followed by `(this % val)`.
`BigInteger` | `BigInteger.remainder(BigInteger val)` Returns a BigInteger whose value is `(this % val)`.
`BigInteger` | `BigInteger.gcd(BigInteger val)` Returns a BigInteger whose value is the greatest common divisor of `abs(this)` and `abs(val)`.
`BigInteger` | `BigInteger.mod(BigInteger m)` Returns a BigInteger whose value is `(this mod m`).
`BigInteger` | `BigInteger.modPow(BigInteger exponent, BigInteger m)` Returns a BigInteger whose value is `(thisexponent mod m)`.
`BigInteger` | `BigInteger.modInverse(BigInteger m)` Returns a BigInteger whose value is `(this-1 mod m)`.
`BigInteger` | `BigInteger.and(BigInteger val)` Returns a BigInteger whose value is `(this & val)`.
`BigInteger` | `BigInteger.or(BigInteger val)` Returns a BigInteger whose value is `(this | val)`.
`BigInteger` | `BigInteger.xor(BigInteger val)` Returns a BigInteger whose value is `(this ^ val)`.
`BigInteger` | `BigInteger.andNot(BigInteger val)` Returns a BigInteger whose value is `(this & ~val)`.
`int` | `BigInteger.compareTo(BigInteger val)` Compares this BigInteger with the specified BigInteger.
`BigInteger` | `BigInteger.min(BigInteger val)` Returns the minimum of this BigInteger and `val`.
`BigInteger` | `BigInteger.max(BigInteger val)` Returns the maximum of this BigInteger and `val`.

Constructors in java.math with parameters of type BigInteger
`BigDecimal(BigInteger val)` Translates a BigInteger into a BigDecimal.
`BigDecimal(BigInteger unscaledVal, int scale)` Translates a BigInteger unscaled value and an `int` scale into a BigDecimal.

Uses of BigInteger in java.security.cert

Methods in java.security.cert that return BigInteger
`BigInteger` | `X509CRLSelector.getMinCRL()` Returns the minCRLNumber criterion.
`BigInteger` | `X509CRLSelector.getMaxCRL()` Returns the maxCRLNumber criterion.
`BigInteger` | `X509CertSelector.getSerialNumber()` Returns the serialNumber criterion.
`abstract BigInteger` | `X509CRLEntry.getSerialNumber()` Gets the serial number from this X509CRLEntry, the userCertificate.
`abstract BigInteger` | `X509Certificate.getSerialNumber()` Gets the `serialNumber` value from the certificate.

Methods in java.security.cert with parameters of type BigInteger
`void` | `X509CRLSelector.setMinCRLNumber(BigInteger minCRL)` Sets the minCRLNumber criterion.
`void` | `X509CRLSelector.setMaxCRLNumber(BigInteger maxCRL)` Sets the maxCRLNumber criterion.
`void` | `X509CertSelector.setSerialNumber(BigInteger serial)` Sets the serialNumber criterion.
`abstract X509CRLEntry` | `X509CRL.getRevokedCertificate(BigInteger serialNumber)` Gets the CRL entry, if any, with the given certificate serialNumber.

Uses of BigInteger in java.security.interfaces

Methods in java.security.interfaces that return BigInteger
`BigInteger` | `RSAMultiPrimePrivateCrtKey.getPublicExponent()` Returns the public exponent.
`BigInteger` | `RSAMultiPrimePrivateCrtKey.getPrimeP()` Returns the primeP.
`BigInteger` | `RSAMultiPrimePrivateCrtKey.getPrimeQ()` Returns the primeQ.
`BigInteger` | `RSAMultiPrimePrivateCrtKey.getPrimeExponentP()` Returns the primeExponentP.
`BigInteger` | `RSAMultiPrimePrivateCrtKey.getPrimeExponentQ()` Returns the primeExponentQ.
`BigInteger` | `RSAMultiPrimePrivateCrtKey.getCrtCoefficient()` Returns the crtCoefficient.
`BigInteger` | `RSAPrivateCrtKey.getPublicExponent()` Returns the public exponent.
`BigInteger` | `RSAPrivateCrtKey.getPrimeP()` Returns the primeP.
`BigInteger` | `RSAPrivateCrtKey.getPrimeQ()` Returns the primeQ.
`BigInteger` | `RSAPrivateCrtKey.getPrimeExponentP()` Returns the primeExponentP.
`BigInteger` | `RSAPrivateCrtKey.getPrimeExponentQ()` Returns the primeExponentQ.
`BigInteger` | `RSAPrivateCrtKey.getCrtCoefficient()` Returns the crtCoefficient.
`BigInteger` | `RSAPrivateKey.getPrivateExponent()` Returns the private exponent.
`BigInteger` | `RSAPublicKey.getPublicExponent()` Returns the public exponent.
`BigInteger` | `RSAKey.getModulus()` Returns the modulus.
`BigInteger` | `DSAPrivateKey.getX()` Returns the value of the private key, `x`.
`BigInteger` | `DSAParams.getP()` Returns the prime, `p`.
`BigInteger` | `DSAParams.getQ()` Returns the subprime, `q`.
`BigInteger` | `DSAParams.getG()` Returns the base, `g`.
`BigInteger` | `DSAPublicKey.getY()` Returns the value of the public key, `y`.

Uses of BigInteger in java.security.spec

Fields in java.security.spec declared as BigInteger
`static BigInteger` | `RSAKeyGenParameterSpec.F0` The public-exponent value F0 = 3.
`static BigInteger` | `RSAKeyGenParameterSpec.F4` The public exponent-value F4 = 65537.

Methods in java.security.spec that return BigInteger
`BigInteger` | `RSAMultiPrimePrivateCrtKeySpec.getPublicExponent()` Returns the public exponent.
`BigInteger` | `RSAMultiPrimePrivateCrtKeySpec.getPrimeP()` Returns the primeP.
`BigInteger` | `RSAMultiPrimePrivateCrtKeySpec.getPrimeQ()` Returns the primeQ.
`BigInteger` | `RSAMultiPrimePrivateCrtKeySpec.getPrimeExponentP()` Returns the primeExponentP.
`BigInteger` | `RSAMultiPrimePrivateCrtKeySpec.getPrimeExponentQ()` Returns the primeExponentQ.
`BigInteger` | `RSAMultiPrimePrivateCrtKeySpec.getCrtCoefficient()` Returns the crtCoefficient.
`BigInteger` | `RSAPrivateCrtKeySpec.getPublicExponent()` Returns the public exponent.
`BigInteger` | `RSAPrivateCrtKeySpec.getPrimeP()` Returns the primeP.
`BigInteger` | `RSAPrivateCrtKeySpec.getPrimeQ()` Returns the primeQ.
`BigInteger` | `RSAPrivateCrtKeySpec.getPrimeExponentP()` Returns the primeExponentP.
`BigInteger` | `RSAPrivateCrtKeySpec.getPrimeExponentQ()` Returns the primeExponentQ.
`BigInteger` | `RSAPrivateCrtKeySpec.getCrtCoefficient()` Returns the crtCoefficient.
`BigInteger` | `RSAPrivateKeySpec.getModulus()` Returns the modulus.
`BigInteger` | `RSAPrivateKeySpec.getPrivateExponent()` Returns the private exponent.
`BigInteger` | `RSAPublicKeySpec.getModulus()` Returns the modulus.
`BigInteger` | `RSAPublicKeySpec.getPublicExponent()` Returns the public exponent.
`BigInteger` | `RSAKeyGenParameterSpec.getPublicExponent()` Returns the public-exponent value.
`BigInteger` | `DSAPublicKeySpec.getY()` Returns the public key `y`.
`BigInteger` | `DSAPublicKeySpec.getP()` Returns the prime `p`.
`BigInteger` | `DSAPublicKeySpec.getQ()` Returns the sub-prime `q`.
`BigInteger` | `DSAPublicKeySpec.getG()` Returns the base `g`.
`BigInteger` | `DSAPrivateKeySpec.getX()` Returns the private key `x`.
`BigInteger` | `DSAPrivateKeySpec.getP()` Returns the prime `p`.
`BigInteger` | `DSAPrivateKeySpec.getQ()` Returns the sub-prime `q`.
`BigInteger` | `DSAPrivateKeySpec.getG()` Returns the base `g`.
`BigInteger` | `DSAParameterSpec.getP()` Returns the prime `p`.
`BigInteger` | `DSAParameterSpec.getQ()` Returns the sub-prime `q`.
`BigInteger` | `DSAParameterSpec.getG()` Returns the base `g`.
`BigInteger` | `RSAOtherPrimeInfo.getPrime()` Returns the prime.
`BigInteger` | `RSAOtherPrimeInfo.getExponent()` Returns the prime's exponent.
`BigInteger` | `RSAOtherPrimeInfo.getCrtCoefficient()` Returns the prime's crtCoefficient.

Constructors in java.security.spec with parameters of type BigInteger
`RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo[] otherPrimeInfo)` Creates a new `RSAMultiPrimePrivateCrtKeySpec` given the modulus, publicExponent, privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, crtCoefficient, and otherPrimeInfo as defined in PKCS#1 v2.1.
`RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient)` Creates a new `RSAPrivateCrtKeySpec` given the modulus, publicExponent, privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, and crtCoefficient as defined in PKCS#1.
`RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent)` Creates a new RSAPrivateKeySpec.
`RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)` Creates a new RSAPublicKeySpec.
`RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent)` Constructs a new `RSAParameterSpec` object from the given keysize and public-exponent value.
`DSAPublicKeySpec(BigInteger y, BigInteger p, BigInteger q, BigInteger g)` Creates a new DSAPublicKeySpec with the specified parameter values.
`DSAPrivateKeySpec(BigInteger x, BigInteger p, BigInteger q, BigInteger g)` Creates a new DSAPrivateKeySpec with the specified parameter values.
`DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g)` Creates a new DSAParameterSpec with the specified parameter values.
`RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)` Creates a new `RSAOtherPrimeInfo` given the prime, primeExponent, and crtCoefficient as defined in PKCS#1.

Uses of BigInteger in javax.crypto.interfaces

Methods in javax.crypto.interfaces that return BigInteger
`BigInteger` | `DHPrivateKey.getX()` Returns the private value, `x`.
`BigInteger` | `DHPublicKey.getY()` Returns the public value, `y`.

Uses of BigInteger in javax.crypto.spec

Methods in javax.crypto.spec that return BigInteger
`BigInteger` | `DHPublicKeySpec.getY()` Returns the public value `y`.
`BigInteger` | `DHPublicKeySpec.getP()` Returns the prime modulus `p`.
`BigInteger` | `DHPublicKeySpec.getG()` Returns the base generator `g`.
`BigInteger` | `DHPrivateKeySpec.getX()` Returns the private value `x`.
`BigInteger` | `DHPrivateKeySpec.getP()` Returns the prime modulus `p`.
`BigInteger` | `DHPrivateKeySpec.getG()` Returns the base generator `g`.
`BigInteger` | `DHParameterSpec.getP()` Returns the prime modulus `p`.
`BigInteger` | `DHParameterSpec.getG()` Returns the base generator `g`.

Constructors in javax.crypto.spec with parameters of type BigInteger
`DHPublicKeySpec(BigInteger y, BigInteger p, BigInteger g)` Constructor that takes a public value `y`, a prime modulus `p`, and a base generator `g`.
`DHPrivateKeySpec(BigInteger x, BigInteger p, BigInteger g)` Constructor that takes a private value `x`, a prime modulus `p`, and a base generator `g`.
`DHParameterSpec(BigInteger p, BigInteger g)` Constructs a parameter set for Diffie-Hellman, using a prime modulus `p` and a base generator `g`.
`DHParameterSpec(BigInteger p, BigInteger g, int l)` Constructs a parameter set for Diffie-Hellman, using a prime modulus `p`, a base generator `g`, and the size in bits, `l`, of the random exponent (private value).

Uses of BigInteger in javax.security.cert

Methods in javax.security.cert that return BigInteger
`abstract BigInteger` | `X509Certificate.getSerialNumber()` Gets the `serialNumber` value from the certificate.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.2
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.