org.apache.geronimo.util.jce.provider
Class JCERSAPublicKey
java.lang.Object
org.apache.geronimo.util.jce.provider.JCERSAPublicKey
- All Implemented Interfaces:
- Serializable, RSAKey, RSAPublicKey, Key, PublicKey
public class JCERSAPublicKey
- extends Object
- implements RSAPublicKey
- See Also:
- Serialized Form
getModulus
public BigInteger getModulus()
- return the modulus.
- Specified by:
getModulus
in interface RSAKey
- Returns:
- the modulus.
getPublicExponent
public BigInteger getPublicExponent()
- return the public exponent.
- Specified by:
getPublicExponent
in interface RSAPublicKey
- Returns:
- the public exponent.
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm
in interface Key
getFormat
public String getFormat()
- Specified by:
getFormat
in interface Key
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interface Key
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.