mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 15:22:39 +00:00
javadoc
This commit is contained in:
1 file changed
+7
-2
@@ -142,8 +142,11 @@ public final class KeyGenerator {
|
||||
PUBKEY_EXPONENT_SIZE_SHORT;
|
||||
}
|
||||
|
||||
/** Generate a pair of keys, where index 0 is a PublicKey, and
|
||||
/**
|
||||
* ElGamal only.
|
||||
* Generate a pair of keys, where index 0 is a PublicKey, and
|
||||
* index 1 is a PrivateKey
|
||||
*
|
||||
* @return pair of keys
|
||||
*/
|
||||
public Object[] generatePKIKeypair() {
|
||||
@@ -151,7 +154,9 @@ public final class KeyGenerator {
|
||||
}
|
||||
|
||||
/**
|
||||
* Same as above but different return type
|
||||
* ElGamal only.
|
||||
* Same as generatePKIKeypair() but different return type.
|
||||
*
|
||||
* @since 0.8.7
|
||||
*/
|
||||
public SimpleDataStructure[] generatePKIKeys() {
|
||||
|
||||
Reference in new issue
Block a user