public class RSAPrivateKeyImpl
extends java.lang.Object
implements java.security.interfaces.RSAPrivateKey
| Constructor and Description |
|---|
RSAPrivateKeyImpl(java.math.BigInteger m,
java.math.BigInteger exp) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
java.math.BigInteger |
getModulus() |
java.math.BigInteger |
getPrivateExponent() |
public RSAPrivateKeyImpl(java.math.BigInteger m,
java.math.BigInteger exp)
throws java.lang.NumberFormatException
java.lang.NumberFormatExceptionpublic java.math.BigInteger getModulus()
getModulus in interface java.security.interfaces.RSAKeypublic java.math.BigInteger getPrivateExponent()
getPrivateExponent in interface java.security.interfaces.RSAPrivateKeypublic 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.Key