For the latest news and information visit
The GNU Crypto project

gnu.crypto.pki.provider
Class GnuRSAPublicKey

java.lang.Object
  extended bygnu.crypto.pki.provider.GnuRSAPublicKey
All Implemented Interfaces:
Key, PublicKey, RSAKey, RSAPublicKey, Serializable

class GnuRSAPublicKey
extends Object
implements RSAPublicKey


Field Summary
 
Fields inherited from interface java.security.interfaces.RSAPublicKey
serialVersionUID
 
Constructor Summary
GnuRSAPublicKey(RSAPublicKeySpec spec)
           
 
Method Summary
 String getAlgorithm()
           
 byte[] getEncoded()
           
 String getFormat()
           
 BigInteger getModulus()
           
 BigInteger getPublicExponent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GnuRSAPublicKey

public GnuRSAPublicKey(RSAPublicKeySpec spec)
Method Detail

getModulus

public BigInteger getModulus()
Specified by:
getModulus in interface RSAKey

getPublicExponent

public BigInteger getPublicExponent()
Specified by:
getPublicExponent in interface RSAPublicKey

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

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.