Class BCRSAPublicKey
- java.lang.Object
-
- org.bouncycastle.jcajce.provider.asymmetric.rsa.BCRSAPublicKey
-
- All Implemented Interfaces:
Serializable
,RSAKey
,RSAPublicKey
,Key
,PublicKey
public class BCRSAPublicKey extends Object implements RSAPublicKey
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getAlgorithm()
byte[]
getEncoded()
String
getFormat()
BigInteger
getModulus()
return the modulus.BigInteger
getPublicExponent()
return the public exponent.int
hashCode()
String
toString()
-
-
-
Method Detail
-
getModulus
public BigInteger getModulus()
return the modulus.- Specified by:
getModulus
in interfaceRSAKey
- Returns:
- the modulus.
-
getPublicExponent
public BigInteger getPublicExponent()
return the public exponent.- Specified by:
getPublicExponent
in interfaceRSAPublicKey
- Returns:
- the public exponent.
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm
in interfaceKey
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfaceKey
-
-