Liking cljdoc? Tell your friends :D

jdk.security.spec.RSAMultiPrimePrivateCrtKeySpec

This class specifies an RSA multi-prime private key, as defined in the PKCS#1 v2.1, using the Chinese Remainder Theorem (CRT) information values for efficiency.

This class specifies an RSA multi-prime private key, as defined in the
PKCS#1 v2.1, using the Chinese Remainder Theorem (CRT) information
values for efficiency.
raw docstring

->rsa-multi-prime-private-crt-key-specclj

(->rsa-multi-prime-private-crt-key-spec modulus
                                        public-exponent
                                        private-exponent
                                        prime-p
                                        prime-q
                                        prime-exponent-p
                                        prime-exponent-q
                                        crt-coefficient
                                        other-prime-info)

Constructor.

Creates a new RSAMultiPrimePrivateCrtKeySpec given the modulus, publicExponent, privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, crtCoefficient, and otherPrimeInfo as defined in PKCS#1 v2.1.

Note that the contents of otherPrimeInfo are copied to protect against subsequent modification when constructing this object.

modulus - the modulus n. - java.math.BigInteger public-exponent - the public exponent e. - java.math.BigInteger private-exponent - the private exponent d. - java.math.BigInteger prime-p - the prime factor p of n. - java.math.BigInteger prime-q - the prime factor q of n. - java.math.BigInteger prime-exponent-p - this is d mod (p-1). - java.math.BigInteger prime-exponent-q - this is d mod (q-1). - java.math.BigInteger crt-coefficient - the Chinese Remainder Theorem coefficient q-1 mod p. - java.math.BigInteger other-prime-info - triplets of the rest of primes, null can be specified if there are only two prime factors (p and q). - java.security.spec.RSAOtherPrimeInfo[]

throws: java.lang.NullPointerException - if any of the parameters, i.e. modulus, publicExponent, privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, crtCoefficient, is null.

Constructor.

Creates a new RSAMultiPrimePrivateCrtKeySpec
 given the modulus, publicExponent, privateExponent,
 primeP, primeQ, primeExponentP, primeExponentQ,
 crtCoefficient, and otherPrimeInfo as defined in PKCS#1 v2.1.

 Note that the contents of otherPrimeInfo
 are copied to protect against subsequent modification when
 constructing this object.

modulus - the modulus n. - `java.math.BigInteger`
public-exponent - the public exponent e. - `java.math.BigInteger`
private-exponent - the private exponent d. - `java.math.BigInteger`
prime-p - the prime factor p of n. - `java.math.BigInteger`
prime-q - the prime factor q of n. - `java.math.BigInteger`
prime-exponent-p - this is d mod (p-1). - `java.math.BigInteger`
prime-exponent-q - this is d mod (q-1). - `java.math.BigInteger`
crt-coefficient - the Chinese Remainder Theorem coefficient q-1 mod p. - `java.math.BigInteger`
other-prime-info - triplets of the rest of primes, null can be specified if there are only two prime factors (p and q). - `java.security.spec.RSAOtherPrimeInfo[]`

throws: java.lang.NullPointerException - if any of the parameters, i.e. modulus, publicExponent, privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, crtCoefficient, is null.
raw docstring

get-crt-coefficientclj

(get-crt-coefficient this)

Returns the crtCoefficient.

returns: the crtCoefficient. - java.math.BigInteger

Returns the crtCoefficient.

returns: the crtCoefficient. - `java.math.BigInteger`
raw docstring

get-other-prime-infoclj

(get-other-prime-info this)

Returns a copy of the otherPrimeInfo or null if there are only two prime factors (p and q).

returns: the otherPrimeInfo. Returns a new array each time this method is called. - java.security.spec.RSAOtherPrimeInfo[]

Returns a copy of the otherPrimeInfo or null if there are
 only two prime factors (p and q).

returns: the otherPrimeInfo. Returns a new array each
 time this method is called. - `java.security.spec.RSAOtherPrimeInfo[]`
raw docstring

get-prime-exponent-pclj

(get-prime-exponent-p this)

Returns the primeExponentP.

returns: the primeExponentP. - java.math.BigInteger

Returns the primeExponentP.

returns: the primeExponentP. - `java.math.BigInteger`
raw docstring

get-prime-exponent-qclj

(get-prime-exponent-q this)

Returns the primeExponentQ.

returns: the primeExponentQ. - java.math.BigInteger

Returns the primeExponentQ.

returns: the primeExponentQ. - `java.math.BigInteger`
raw docstring

get-prime-pclj

(get-prime-p this)

Returns the primeP.

returns: the primeP. - java.math.BigInteger

Returns the primeP.

returns: the primeP. - `java.math.BigInteger`
raw docstring

get-prime-qclj

(get-prime-q this)

Returns the primeQ.

returns: the primeQ. - java.math.BigInteger

Returns the primeQ.

returns: the primeQ. - `java.math.BigInteger`
raw docstring

get-public-exponentclj

(get-public-exponent this)

Returns the public exponent.

returns: the public exponent. - java.math.BigInteger

Returns the public exponent.

returns: the public exponent. - `java.math.BigInteger`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close