org.apache.geronimo.crypto.jce.provider
Class JCERSAPublicKey

java.lang.Object
  extended by org.apache.geronimo.crypto.jce.provider.JCERSAPublicKey
All Implemented Interfaces:
Serializable, RSAKey, RSAPublicKey, Key, PublicKey

public class JCERSAPublicKey
extends Object
implements RSAPublicKey

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.security.interfaces.RSAPublicKey
serialVersionUID
 
Method Summary
 boolean equals(Object o)
           
 String getAlgorithm()
           
 byte[] getEncoded()
           
 String getFormat()
           
 BigInteger getModulus()
          return the modulus.
 BigInteger getPublicExponent()
          return the public exponent.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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-2008 The Apache Geronimo development community. All Rights Reserved.