This commit is contained in:
zzz
2021-07-20 10:49:14 -04:00
parent 369c40322e
commit ca879f04e3

View File

@@ -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 {
} }
/** /**
* 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() {