|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--au.net.aba.crypto.provider.RSAPrivKey
A class for ABA RSA private keys.
| Field Summary | |
protected java.math.BigInteger |
d
The private exponent of this key. |
static java.lang.String |
ident
|
protected java.math.BigInteger |
modulus
The modulus of this key. |
| Constructor Summary | |
RSAPrivKey()
Construct an empty RSAPrivKey. |
|
RSAPrivKey(java.math.BigInteger modulus,
java.math.BigInteger privateExponent)
|
|
| Method Summary | |
java.lang.String |
getAlgorithm()
Return the algorithm for this key. |
byte[] |
getEncoded()
Return an encoded representation for this key. |
java.lang.String |
getFormat()
Return the format this key is in. |
java.math.BigInteger |
getModulus()
Return the modulus. |
java.math.BigInteger |
getPrivateExponent()
Return the private exponent |
java.lang.String |
toString()
Generate a String representation of this key. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static final java.lang.String ident
protected java.math.BigInteger modulus
protected java.math.BigInteger d
| Constructor Detail |
public RSAPrivKey()
public RSAPrivKey(java.math.BigInteger modulus,
java.math.BigInteger privateExponent)
| Method Detail |
public java.math.BigInteger getModulus()
public java.math.BigInteger getPrivateExponent()
public java.lang.String getAlgorithm()
public java.lang.String getFormat()
toString() method. This
format is compatible with the AsciiEncodedKeySpec.public byte[] getEncoded()
getFormat(),
toString()public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||