java.io.Serializable
, java.security.interfaces.RSAKey
, java.security.interfaces.RSAPublicKey
, java.security.Key
, java.security.PublicKey
public class BCRSAPublicKey
extends java.lang.Object
implements java.security.interfaces.RSAPublicKey
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.lang.String |
getAlgorithm() |
|
byte[] |
getEncoded() |
|
java.lang.String |
getFormat() |
|
java.math.BigInteger |
getModulus() |
return the modulus.
|
java.math.BigInteger |
getPublicExponent() |
return the public exponent.
|
int |
hashCode() |
|
java.lang.String |
toString() |
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
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object