|
For the latest news and information visit The GNU Crypto project |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gnu.crypto.sig.rsa.GnuRSAKey
A base asbtract class for both public and private RSA keys.
| Field Summary |
| Fields inherited from interface java.security.Key |
serialVersionUID |
| Constructor Summary | |
protected |
GnuRSAKey(java.math.BigInteger n)
Trivial protected constructor. |
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Returns true if the designated object is an instance of
RSAKey and has the same RSA parameter
values as this one. |
java.lang.String |
getAlgorithm()
|
java.lang.String |
getFormat()
|
java.math.BigInteger |
getModulus()
|
java.math.BigInteger |
getN()
Returns the modulus n. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.security.Key |
getEncoded |
| Constructor Detail |
protected GnuRSAKey(java.math.BigInteger n)
n - the public modulus p.| Method Detail |
public java.math.BigInteger getModulus()
getModulus in interface java.security.interfaces.RSAKeypublic java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic java.math.BigInteger getN()
n.
n.public boolean equals(java.lang.Object obj)
true if the designated object is an instance of
RSAKey and has the same RSA parameter
values as this one.
equals in class java.lang.Objectobj - the other non-null RSA key to compare to.
true if the designated object is of the same type and
value as this one.
|
For the latest news and information visit The GNU Crypto project |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||