Uses of Class java.math.BigInteger

Uses in package gnu.javax.crypto.key.dh

Constructors with parameter type java.math.BigInteger

GnuDHKey.GnuDHKey(int defaultFormat, BigInteger q, BigInteger p, BigInteger g)
Trivial protected constructor.
Constructs a new instance of GnuDHPrivateKey given the designated parameters.
Convenience constructor.
Constructs a new instance of GnuDHPublicKey given the designated parameters.
Convenience constructor.

Fields of type java.math.BigInteger

BigInteger
The shared secret key.
BigInteger
The shared secret key.
BigInteger
The generator g.
BigInteger
The public prime p.
BigInteger
The public prime q.

Methods with return type java.math.BigInteger

BigInteger[]
BigInteger
BigInteger
Returns the private value x.
BigInteger

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 gnu.java.security.sig.dss

Methods with parameter type java.math.BigInteger

boolean

Methods with return type java.math.BigInteger

BigInteger[]
BigInteger[]
DSSSignature.sign(DSAPrivateKey k, byte[] h, IRandom irnd)
BigInteger[]
DSSSignature.sign(DSAPrivateKey k, byte[] h, Random rnd)

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.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 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 gnu.java.security.pkcs

Constructors with parameter type java.math.BigInteger

SignerInfo.SignerInfo(X500Principal issuer, BigInteger serialNumber, OID digestAlgorithmOID, byte[] authenticatedAttributes, OID digestEncryptionAlgorithmOID, byte[] encryptedDigest, byte[] unauthenticatedAttributes)
Constructs a new instance of SignerInfo given a designated set of fields.

Methods with return type java.math.BigInteger

BigInteger
BigInteger
BigInteger

Uses in package gnu.javax.crypto.key.srp6

Constructors with parameter type java.math.BigInteger

Public constructor for use from outside this package.
Public constructor for use from outside this package.
Public constructor for use from outside this package.

Fields of type java.math.BigInteger

BigInteger
The shared secret key.
BigInteger
BigInteger
The public, Germaine prime, shared modulus.
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
BigInteger
The generator.

Methods with parameter type java.math.BigInteger

void
BigInteger

Methods with return type java.math.BigInteger

BigInteger
Returns the generator.
BigInteger
Returns the public shared modulus.
BigInteger
Returns the user's verifier as a BigInteger.
BigInteger
Returns the private exponent of the key as a BigInteger.
BigInteger
Returns the public exponent of the key as a BigInteger.
BigInteger

Uses in package gnu.java.security.util

Methods with parameter type java.math.BigInteger

String
Returns a hexadecimal dump of the trimmed bytes of a BigInteger.
BigInteger
Prime.generateRandomPrime(int pmin, int pmax, BigInteger f)
BigInteger
Prime.generateRandomPrime(BigInteger r, BigInteger a, int pmin, int pmax, BigInteger f)
byte[]
Treats the input as the MSB representation of a number, and discards leading zero elements.

Methods with return type java.math.BigInteger

BigInteger
Prime.generateRandomPrime(int pmin, int pmax, BigInteger f)
BigInteger
Prime.generateRandomPrime(BigInteger r, BigInteger a, int pmin, int pmax, BigInteger f)

Uses in package gnu.javax.crypto.sasl

Methods with parameter type java.math.BigInteger

void
Encodes a SASL MPI to the current buffer.

Methods with return type java.math.BigInteger

BigInteger
Decodes a SASL MPI from the current buffer.

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 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 gnu.javax.net.ssl

Methods with return type java.math.BigInteger

BigInteger
Returns the password verifier for the given user.

Uses in package gnu.java.security.key.rsa

Constructors with parameter type java.math.BigInteger

GnuRSAKey.GnuRSAKey(int defaultFormat, BigInteger n, BigInteger e)
Trivial protected constructor.
Constructs a new instance of a GnuRSAPrivateKey given the designated arguments.
Constructs a new instance of a GnuRSAPrivateKey given the designated arguments.
Convenience constructor.
Constructs a new instance of GnuRSAPublicKey given the designated arguments.
Conveience constructor.

Methods with return type java.math.BigInteger

BigInteger
Returns the CRT coefficient
BigInteger
BigInteger
Generates a modulus.
BigInteger
Returns the modulus n.
BigInteger
Returns the primeExponentP
BigInteger
Returns the primeExponentQ
BigInteger
Returns the primeP value
BigInteger
Returns the primeQ value
BigInteger
Returns the private exponent value for this key
BigInteger
Returns the public exponent e.

Uses in package gnu.javax.crypto.sasl.srp

Methods with parameter type java.math.BigInteger

byte[]
SRP.generateM1(BigInteger N, BigInteger g, String U, byte[] s, BigInteger A, BigInteger B, byte[] K, String I, String L, byte[] cn, byte[] cCB)
byte[]
SRP.generateM2(BigInteger A, byte[] M1, byte[] K, String U, String I, String o, byte[] sid, int ttl, byte[] cIV, byte[] sIV, byte[] sCB)

Uses in package gnu.java.security.x509

Fields of type java.math.BigInteger

BigInteger

Methods with parameter type java.math.BigInteger

X509CRLEntry

Methods with return type java.math.BigInteger

BigInteger

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 gnu.javax.net.ssl.provider

Constructors with parameter type java.math.BigInteger

Methods with parameter type java.math.BigInteger

void
Sets the exponent.
void
Sets the server's generator value, g.
void
Sets the modulus.
void
Sets the server's prime modulus, p.
void
void
Sets the server's public value, Y.
byte[]
Returns the byte array representation of the given big integer with the leading zero byte (if any) trimmed off.

Methods with return type java.math.BigInteger

BigInteger
Returns the exponent field.
BigInteger
Returns the server's generator value.
BigInteger
Gets the modulus field.
BigInteger
Returns the server's prime modulus.
BigInteger
BigInteger
Returns the server's public value.

Uses in package gnu.java.security.key.dss

Constructors with parameter type java.math.BigInteger

DSSKey.DSSKey(int defaultFormat, BigInteger p, BigInteger q, BigInteger g)
Trivial protected constructor.
Constructs a new instance of a DSSPrivateKey given the designated arguments.
Convenience constructor.
DSSPublicKey.DSSPublicKey(int preferredFormat, BigInteger p, BigInteger q, BigInteger g, BigInteger y)
Constructs a new instance of DSSPublicKey given the designated arguments.
Conveience constructor.

Fields of type java.math.BigInteger

BigInteger
g = h(p-1)/q mod p, where h is any integer with 1 < h < p - 1 such that h (p-1)/q mod p > 1 (g has order q mod p ).
BigInteger
A prime modulus, where 2L-1 < p < 2L for 512 <= L <= 1024 and L a multiple of 64.
BigInteger
A prime divisor of p - 1, where 2159 < q < 2160.

Methods with return type java.math.BigInteger

BigInteger[]
This method generates the DSS p, q, and g parameters only when L (the modulus length) is not one of the following: 512, 768 and 1024.
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 gnu.javax.crypto.key

Fields of type java.math.BigInteger

BigInteger

Methods with parameter type java.math.BigInteger

void
Encodes an MPI into the message.

Methods with return type java.math.BigInteger

BigInteger
Decodes an MPI from the current message's contents.

Uses in package javax.security.cert

Methods with return type java.math.BigInteger

BigInteger
Returns this certificate's serial number.

Uses in package gnu.java.security.sig.rsa

Methods with parameter type java.math.BigInteger

byte[]
RSA.I2OSP(BigInteger s, int k)
Converts a multi-precision integer (MPI) s into an octet sequence of length k.
BigInteger
An implementation of the RSADP algorithm.
BigInteger
An implementation of the RSAEP algorithm.
BigInteger
An implementation of the RSASP method: Assuming that the designated RSA private key is a valid one, this method computes a signature representative for a designated message representative signed by the holder of the designated RSA private key.
BigInteger
An implementation of the RSAVP method: Assuming that the designated RSA public key is a valid one, this method computes a message representative for the designated signature representative generated by an RSA private key, for a message intended for the holder of the designated RSA public key.

Methods with return type java.math.BigInteger

BigInteger
An implementation of the RSADP algorithm.
BigInteger
An implementation of the RSAEP algorithm.
BigInteger
An implementation of the RSASP method: Assuming that the designated RSA private key is a valid one, this method computes a signature representative for a designated message representative signed by the holder of the designated RSA private key.
BigInteger
An implementation of the RSAVP method: Assuming that the designated RSA public key is a valid one, this method computes a message representative for the designated signature representative generated by an RSA private key, for a message intended for the holder of the designated RSA public key.

Uses in package java.util

Methods with return type java.math.BigInteger

BigInteger
Tries to interpret the next string as a BigInteger value.
BigInteger
Tries to interpret the next string as a BigInteger value with the given radix.

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.

Uses in package gnu.java.security.x509.ext

Constructors with parameter type java.math.BigInteger

Methods with return type java.math.BigInteger

BigInteger
BigInteger