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.NumberFormatException
public java.math.BigInteger getModulus()
getModulus
in interface java.security.interfaces.RSAKey
public java.math.BigInteger getPublicExponent()
getPublicExponent
in interface java.security.interfaces.RSAPublicKey
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