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

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

javadoc

parent 74fac4b1
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
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