public class RSAPublicKeySpec extends Object implements KeySpec
Key,
KeyFactory,
KeySpec,
X509EncodedKeySpec,
RSAPrivateKeySpec,
RSAPrivateCrtKeySpec| Constructor and Description |
|---|
RSAPublicKeySpec(BigInteger modulus,
BigInteger publicExponent)
Creates a new RSAPublicKeySpec.
|
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getModulus()
Returns the modulus.
|
BigInteger |
getPublicExponent()
Returns the public exponent.
|
public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)
modulus - the moduluspublicExponent - the public exponentpublic BigInteger getModulus()
public BigInteger getPublicExponent()
Dracula Javadoc Sample, Made with Allan Im.