diff --git a/core/java/src/net/i2p/crypto/KeyGenerator.java b/core/java/src/net/i2p/crypto/KeyGenerator.java
index 689516be059a3b9fef5f4ec6f3abaa0bb0bc30ef..03ef12624a87569254fb3ad612437c6519a5c6cb 100644
--- a/core/java/src/net/i2p/crypto/KeyGenerator.java
+++ b/core/java/src/net/i2p/crypto/KeyGenerator.java
@@ -84,7 +84,15 @@ public class KeyGenerator {
      * index 1 is a PrivateKey
      * @return pair of keys
      */
-    public SimpleDataStructure[] generatePKIKeypair() {
+    public Object[] generatePKIKeypair() {
+        return generatePKIKeys();
+    }
+
+    /**
+     *  Same as above but different return type
+     *  @since 0.8.7
+     */
+    public SimpleDataStructure[] generatePKIKeys() {
         BigInteger a = new NativeBigInteger(PUBKEY_EXPONENT_SIZE, _context.random());
         BigInteger aalpha = CryptoConstants.elgg.modPow(a, CryptoConstants.elgp);
 
@@ -120,7 +128,15 @@ public class KeyGenerator {
      * index 1 is a SigningPrivateKey
      * @return pair of keys
      */
-    public SimpleDataStructure[] generateSigningKeypair() {
+    public Object[] generateSigningKeypair() {
+        return generateSigningKeys();
+    }
+
+    /**
+     *  Same as above but different return type
+     *  @since 0.8.7
+     */
+    public SimpleDataStructure[] generateSigningKeys() {
         SimpleDataStructure[] keys = new SimpleDataStructure[2];
         BigInteger x = null;