From ca879f04e3c1eb39fb638ce6b65ef34c990e519d Mon Sep 17 00:00:00 2001
From: zzz <zzz@i2pmail.org>
Date: Tue, 20 Jul 2021 10:49:14 -0400
Subject: [PATCH] javadoc

---
 core/java/src/net/i2p/crypto/KeyGenerator.java | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/core/java/src/net/i2p/crypto/KeyGenerator.java b/core/java/src/net/i2p/crypto/KeyGenerator.java
index 710cddabb3..497807f4f4 100644
--- a/core/java/src/net/i2p/crypto/KeyGenerator.java
+++ b/core/java/src/net/i2p/crypto/KeyGenerator.java
@@ -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() {
-- 
GitLab