From d5717ca12d040be9828a062b973e0b9317a12770 Mon Sep 17 00:00:00 2001 From: zzz Date: Sun, 29 Nov 2015 14:52:08 +0000 Subject: [PATCH] javadoc --- core/java/src/net/i2p/crypto/KeyGenerator.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/java/src/net/i2p/crypto/KeyGenerator.java b/core/java/src/net/i2p/crypto/KeyGenerator.java index c198d0b34..efe9bacac 100644 --- a/core/java/src/net/i2p/crypto/KeyGenerator.java +++ b/core/java/src/net/i2p/crypto/KeyGenerator.java @@ -56,11 +56,9 @@ import net.i2p.util.RandomSource; * @author jrandom */ public class KeyGenerator { - //private final Log _log; private final I2PAppContext _context; public KeyGenerator(I2PAppContext context) { - //_log = context.logManager().getLog(KeyGenerator.class); _context = context; } @@ -85,7 +83,6 @@ public class KeyGenerator { /** * PBE the passphrase with the salt. * Warning - SLOW - * Deprecated - Used by Syndie only. */ public SessionKey generateSessionKey(byte salt[], byte passphrase[]) { byte salted[] = new byte[16+passphrase.length]; @@ -122,6 +119,7 @@ public class KeyGenerator { /** * @deprecated use getElGamalExponentSize() which allows override in the properties */ + @Deprecated public static final int PUBKEY_EXPONENT_SIZE = DEFAULT_USE_LONG_EXPONENT ? PUBKEY_EXPONENT_SIZE_FULL : PUBKEY_EXPONENT_SIZE_SHORT; @@ -228,7 +226,7 @@ public class KeyGenerator { } /** - * Generic signature type, supports DSA and ECDSA + * Generic signature type, supports DSA, ECDSA, EdDSA * @since 0.9.9 */ public SimpleDataStructure[] generateSigningKeys(SigType type) throws GeneralSecurityException {