public class RSAPublicKeyImpl
extends java.lang.Object
implements java.security.interfaces.RSAPublicKey
| Constructor and Description |
|---|
RSAPublicKeyImpl(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 |
getPublicExponent() |
public RSAPublicKeyImpl(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 getPublicExponent()
getPublicExponent in interface java.security.interfaces.RSAPublicKeypublic 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