cryptix.provider.rsa
public abstract class BaseRSAPublicKey extends Object implements CryptixRSAPublicKey
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.6 $
Since: Cryptix 2.2.2
| Constructor Summary | |
|---|---|
| protected | BaseRSAPublicKey()
Constructs an RSA private key, without setting the parameters.
|
| Method Summary | |
|---|---|
| String | getAlgorithm()
Returns the name of the algorithm, for this class always "RSA".
|
| BigInteger | getExponent()
Returns the public exponent e.
|
| BigInteger | getModulus()
Returns the public modulus n.
|
| protected void | setRsaParams(BigInteger n, BigInteger e)
Sets the RSA parameters n and e.
|
| String | toString()
Returns a string representation of this key.
|
Returns: the name of the algorithm, "RSA".
Returns: the public exponent e.
Returns: the public modulus n.
Throws: NullPointerException if n == null || e == null
Returns: a string representation of this key.