I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit ca879f04 authored by zzz's avatar zzz
Browse files

javadoc

parent 369c4032
No related branches found
No related tags found
No related merge requests found
...@@ -142,8 +142,11 @@ public final class KeyGenerator { ...@@ -142,8 +142,11 @@ public final class KeyGenerator {
PUBKEY_EXPONENT_SIZE_SHORT; 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 * index 1 is a PrivateKey
*
* @return pair of keys * @return pair of keys
*/ */
public Object[] generatePKIKeypair() { public Object[] generatePKIKeypair() {
...@@ -151,7 +154,9 @@ public final class KeyGenerator { ...@@ -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 * @since 0.8.7
*/ */
public SimpleDataStructure[] generatePKIKeys() { public SimpleDataStructure[] generatePKIKeys() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment