This class specifies an RSA private key, as defined in the PKCS#1 standard, using the Chinese Remainder Theorem (CRT) information values for efficiency.
This class specifies an RSA private key, as defined in the PKCS#1 standard, using the Chinese Remainder Theorem (CRT) information values for efficiency.
(->rsa-private-crt-key-spec modulus
public-exponent
private-exponent
prime-p
prime-q
prime-exponent-p
prime-exponent-q
crt-coefficient)
Constructor.
Creates a new RSAPrivateCrtKeySpec given the modulus, publicExponent, privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, and crtCoefficient as defined in PKCS#1.
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
Constructor. Creates a new RSAPrivateCrtKeySpec given the modulus, publicExponent, privateExponent, primeP, primeQ, primeExponentP, primeExponentQ, and crtCoefficient as defined in PKCS#1. 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`
(get-crt-coefficient this)
Returns the crtCoefficient.
returns: the crtCoefficient - java.math.BigInteger
Returns the crtCoefficient. returns: the crtCoefficient - `java.math.BigInteger`
(get-prime-exponent-p this)
Returns the primeExponentP.
returns: the primeExponentP - java.math.BigInteger
Returns the primeExponentP. returns: the primeExponentP - `java.math.BigInteger`
(get-prime-exponent-q this)
Returns the primeExponentQ.
returns: the primeExponentQ - java.math.BigInteger
Returns the primeExponentQ. returns: the primeExponentQ - `java.math.BigInteger`
(get-prime-p this)
Returns the primeP.
returns: the primeP - java.math.BigInteger
Returns the primeP. returns: the primeP - `java.math.BigInteger`
(get-prime-q this)
Returns the primeQ.
returns: the primeQ - java.math.BigInteger
Returns the primeQ. returns: the primeQ - `java.math.BigInteger`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close