public class RSAPrivateCrtKeyImpl extends RSAPrivateKeyImpl implements java.security.interfaces.RSAPrivateCrtKey
Constructor and Description |
---|
RSAPrivateCrtKeyImpl(java.math.BigInteger m,
java.math.BigInteger pubExp,
java.math.BigInteger exp,
java.math.BigInteger primeP,
java.math.BigInteger primeQ,
java.math.BigInteger primeExpP,
java.math.BigInteger primeExpQ,
java.math.BigInteger crtCeoff) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm() |
java.math.BigInteger |
getCrtCoefficient() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
java.math.BigInteger |
getPrimeExponentP() |
java.math.BigInteger |
getPrimeExponentQ() |
java.math.BigInteger |
getPrimeP() |
java.math.BigInteger |
getPrimeQ() |
java.math.BigInteger |
getPublicExponent() |
getModulus, getPrivateExponent
public RSAPrivateCrtKeyImpl(java.math.BigInteger m, java.math.BigInteger pubExp, java.math.BigInteger exp, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger primeExpP, java.math.BigInteger primeExpQ, java.math.BigInteger crtCeoff) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public java.math.BigInteger getPublicExponent()
getPublicExponent
in interface java.security.interfaces.RSAPrivateCrtKey
public java.math.BigInteger getCrtCoefficient()
getCrtCoefficient
in interface java.security.interfaces.RSAPrivateCrtKey
public java.math.BigInteger getPrimeExponentP()
getPrimeExponentP
in interface java.security.interfaces.RSAPrivateCrtKey
public java.math.BigInteger getPrimeExponentQ()
getPrimeExponentQ
in interface java.security.interfaces.RSAPrivateCrtKey
public java.math.BigInteger getPrimeP()
getPrimeP
in interface java.security.interfaces.RSAPrivateCrtKey
public java.math.BigInteger getPrimeQ()
getPrimeQ
in interface java.security.interfaces.RSAPrivateCrtKey
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
getAlgorithm
in class RSAPrivateKeyImpl
public java.lang.String getFormat()
getFormat
in interface java.security.Key
getFormat
in class RSAPrivateKeyImpl
public byte[] getEncoded()
getEncoded
in interface java.security.Key
getEncoded
in class RSAPrivateKeyImpl