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.NumberFormatException
public java.math.BigInteger getModulus()
getModulus
in interface java.security.interfaces.RSAKey
public java.math.BigInteger getPrivateExponent()
getPrivateExponent
in interface java.security.interfaces.RSAPrivateKey
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public java.lang.String getFormat()
getFormat
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key