public final class RSAPrivateCrtKeyImpl
extends java.lang.Object
implements java.security.interfaces.RSAPrivateCrtKey
RSA private keys are output in PKCS #8 PrivateKeyInfo format, and this is also the preferred format for input. However, for backwards compatibility reasons, the PKCS #1 RSAPrivateKey format is recognized for input as well.
| Constructor and Description |
|---|
RSAPrivateCrtKeyImpl(oracle.security.crypto.core.RSAPrivateKey rsaPrivateKey) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm() |
java.math.BigInteger |
getCrtCoefficient() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
java.math.BigInteger |
getModulus() |
java.math.BigInteger |
getPrimeExponentP() |
java.math.BigInteger |
getPrimeExponentQ() |
java.math.BigInteger |
getPrimeP() |
java.math.BigInteger |
getPrimeQ() |
java.math.BigInteger |
getPrivateExponent() |
java.math.BigInteger |
getPublicExponent() |
java.lang.String |
toString() |
public RSAPrivateCrtKeyImpl(oracle.security.crypto.core.RSAPrivateKey rsaPrivateKey)
public java.math.BigInteger getModulus()
getModulus in interface java.security.interfaces.RSAKeypublic java.math.BigInteger getPrivateExponent()
getPrivateExponent in interface java.security.interfaces.RSAPrivateKeypublic java.math.BigInteger getCrtCoefficient()
getCrtCoefficient in interface java.security.interfaces.RSAPrivateCrtKeypublic java.math.BigInteger getPrimeExponentP()
getPrimeExponentP in interface java.security.interfaces.RSAPrivateCrtKeypublic java.math.BigInteger getPrimeExponentQ()
getPrimeExponentQ in interface java.security.interfaces.RSAPrivateCrtKeypublic java.math.BigInteger getPrimeP()
getPrimeP in interface java.security.interfaces.RSAPrivateCrtKeypublic java.math.BigInteger getPrimeQ()
getPrimeQ in interface java.security.interfaces.RSAPrivateCrtKeypublic java.math.BigInteger getPublicExponent()
getPublicExponent in interface java.security.interfaces.RSAPrivateCrtKeypublic java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic java.lang.String toString()
toString in class java.lang.Object