|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.spec.RSAPrivateKeySpec
java.security.spec.RSAPrivateCrtKeySpec
public class RSAPrivateCrtKeySpec
RSA Private Certificate Key class Specification. Used to maintain the RSA Private Certificate Keys with the Chinese Remainder Theorem(CRT) as specified by PKCS#1.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
BigInteger |
getCrtCoefficient()
Gets the RSA CRT coefficient. |
BigInteger |
getPrimeExponentP()
Gets the RSA prime exponent P. |
BigInteger |
getPrimeExponentQ()
Gets the RSA prime exponent P. |
BigInteger |
getPrimeP()
Gets the RSA prime P. |
BigInteger |
getPrimeQ()
Gets the RSA prime Q. |
BigInteger |
getPublicExponent()
Gets the RSA public exponent. |
Methods inherited from class java.security.spec.RSAPrivateKeySpec |
---|
getModulus, getPrivateExponent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient)
modulus
- the RSA moduluspublicExponent
- the public key exponentprivateExponent
- the private key exponentprimeP
- the prime PprimeQ
- the prime QprimeExponentP
- the prime exponent PprimeExponentQ
- the prime exponent PcrtCoefficient
- the CRT coefficientMethod Detail |
---|
public BigInteger getPublicExponent()
public BigInteger getPrimeP()
public BigInteger getPrimeQ()
public BigInteger getPrimeExponentP()
public BigInteger getPrimeExponentQ()
public BigInteger getCrtCoefficient()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |