|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object part2.SimpleRSAKeyGenerator
Constructor Summary | |
SimpleRSAKeyGenerator(java.math.BigInteger p,
java.math.BigInteger q,
java.security.SecureRandom rnd)
A constructor that generates an RSA key-pair using the primes p and q . |
Method Summary | |
RSAPrivateKey |
getPrivate()
A method to return the private key of this RSA key-pair. |
RSAPublicKey |
getPublic()
A method to return the public key of this RSA key-pair. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleRSAKeyGenerator(java.math.BigInteger p, java.math.BigInteger q, java.security.SecureRandom rnd) throws java.lang.Exception
p
and q
.
Exception.
java.lang.Exception
Method Detail |
public RSAPublicKey getPublic() throws java.lang.Exception
getPublic
in interface RSAKeyPair
Exception.
java.lang.Exception
public RSAPrivateKey getPrivate() throws java.lang.Exception
getPrivate
in interface RSAKeyPair
Exception.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |