Package org.bouncycastle.jce.provider
Class JCERSAPublicKey
- java.lang.Object
-
- org.bouncycastle.jce.provider.JCERSAPublicKey
-
- All Implemented Interfaces:
java.io.Serializable,java.security.interfaces.RSAKey,java.security.interfaces.RSAPublicKey,java.security.Key,java.security.PublicKey
public class JCERSAPublicKey extends java.lang.Object implements java.security.interfaces.RSAPublicKey- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetAlgorithm()byte[]getEncoded()java.lang.StringgetFormat()java.math.BigIntegergetModulus()return the modulus.java.math.BigIntegergetPublicExponent()return the public exponent.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getModulus
public java.math.BigInteger getModulus()
return the modulus.- Specified by:
getModulusin interfacejava.security.interfaces.RSAKey- Returns:
- the modulus.
-
getPublicExponent
public java.math.BigInteger getPublicExponent()
return the public exponent.- Specified by:
getPublicExponentin interfacejava.security.interfaces.RSAPublicKey- Returns:
- the public exponent.
-
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithmin interfacejava.security.Key
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormatin interfacejava.security.Key
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfacejava.security.Key
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-