gnu.crypto.pki.provider
Class GnuRSAPublicKey
java.lang.Object
gnu.crypto.pki.provider.GnuRSAPublicKey
- All Implemented Interfaces:
- Serializable, RSAKey, RSAPublicKey, Key, PublicKey
class GnuRSAPublicKey
- extends Object
- implements RSAPublicKey
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GnuRSAPublicKey
public GnuRSAPublicKey(RSAPublicKeySpec spec)
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
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.