public class RSAPrivateCrtKeyParameters extends RSAKeyParameters
| Constructor and Description |
|---|
RSAPrivateCrtKeyParameters(java.math.BigInteger modulus,
java.math.BigInteger publicExponent,
java.math.BigInteger privateExponent,
java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger dP,
java.math.BigInteger dQ,
java.math.BigInteger qInv) |
RSAPrivateCrtKeyParameters(java.math.BigInteger modulus,
java.math.BigInteger publicExponent,
java.math.BigInteger privateExponent,
java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger dP,
java.math.BigInteger dQ,
java.math.BigInteger qInv,
boolean isInternal) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy this object, dropping its references to the CRT factors and exponents along with
the inherited private exponent.
|
java.math.BigInteger |
getDP() |
java.math.BigInteger |
getDQ() |
java.math.BigInteger |
getP() |
java.math.BigInteger |
getPublicExponent() |
java.math.BigInteger |
getQ() |
java.math.BigInteger |
getQInv() |
getExponent, getModulus, isDestroyed, validateModulusisPrivatepublic RSAPrivateCrtKeyParameters(java.math.BigInteger modulus,
java.math.BigInteger publicExponent,
java.math.BigInteger privateExponent,
java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger dP,
java.math.BigInteger dQ,
java.math.BigInteger qInv)
public RSAPrivateCrtKeyParameters(java.math.BigInteger modulus,
java.math.BigInteger publicExponent,
java.math.BigInteger privateExponent,
java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger dP,
java.math.BigInteger dQ,
java.math.BigInteger qInv,
boolean isInternal)
public java.math.BigInteger getPublicExponent()
public java.math.BigInteger getP()
public java.math.BigInteger getQ()
public java.math.BigInteger getDP()
public java.math.BigInteger getDQ()
public java.math.BigInteger getQInv()
public void destroy()
As BigInteger is immutable the values cannot be zeroized in place; destruction
drops the internal references so the values become unreachable (cleared on garbage
collection). After destruction the secret-bearing accessors throw
IllegalStateException.
destroy in interface javax.security.auth.Destroyabledestroy in class RSAKeyParameters