|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.crypto.KeyGenerator
Define a way of generating asymetrical key pairs as well as symetrical keys
Constructor Summary | |
KeyGenerator(I2PAppContext context)
|
Method Summary | |
java.lang.Object[] |
generatePKIKeypair()
Generate a pair of keys, where index 0 is a PublicKey, and index 1 is a PrivateKey |
SessionKey |
generateSessionKey()
Generate a private 256 bit session key |
java.lang.Object[] |
generateSigningKeypair()
Generate a pair of DSA keys, where index 0 is a SigningPublicKey, and index 1 is a SigningPrivateKey |
static KeyGenerator |
getInstance()
|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeyGenerator(I2PAppContext context)
Method Detail |
public static KeyGenerator getInstance()
public SessionKey generateSessionKey()
public java.lang.Object[] generatePKIKeypair()
public java.lang.Object[] generateSigningKeypair()
public static void main(java.lang.String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |