This commit is contained in:
Shikhar Bhushan
2010-03-07 02:41:35 +01:00
parent cda3404ff7
commit 4fd513f62f

View File

@@ -70,8 +70,8 @@ import java.util.LinkedList;
import java.util.List; import java.util.List;
/** /**
* Constructor for a {@link ConfigImpl} that is initialized as follows. Items marked with an asterisk are added to the * A {@link Config} that is initialized as follows. Items marked with an asterisk are added to the config only if
* config only if BouncyCastle is in the classpath. * BouncyCastle is in the classpath.
* <p/> * <p/>
* <ul> <li>{@link ConfigImpl#setKeyExchangeFactories Key exchange}: {@link DHG14}*, {@link DHG1}</li> <li>{@link * <ul> <li>{@link ConfigImpl#setKeyExchangeFactories Key exchange}: {@link DHG14}*, {@link DHG1}</li> <li>{@link
* ConfigImpl#setCipherFactories Ciphers} [1]: {@link AES128CTR}, {@link AES192CTR}, {@link AES256CTR}, {@link * ConfigImpl#setCipherFactories Ciphers} [1]: {@link AES128CTR}, {@link AES192CTR}, {@link AES256CTR}, {@link
@@ -125,13 +125,13 @@ public class DefaultConfig
protected void initCipherFactories() { protected void initCipherFactories() {
List<Factory.Named<Cipher>> avail = new LinkedList<Factory.Named<Cipher>>(Arrays.<Factory.Named<Cipher>>asList( List<Factory.Named<Cipher>> avail = new LinkedList<Factory.Named<Cipher>>(Arrays.<Factory.Named<Cipher>>asList(
new AES128CTR.Factory(), // new AES128CTR.Factory(),
new AES192CTR.Factory(), // new AES192CTR.Factory(),
new AES256CTR.Factory(), // new AES256CTR.Factory(),
new AES128CBC.Factory(), // new AES128CBC.Factory(),
new AES192CBC.Factory(), // new AES192CBC.Factory(),
new AES256CBC.Factory(), // new AES256CBC.Factory(),
new TripleDESCBC.Factory(), // new TripleDESCBC.Factory(),
new BlowfishCBC.Factory())); new BlowfishCBC.Factory()));
// Ref. https://issues.apache.org/jira/browse/SSHD-24 // Ref. https://issues.apache.org/jira/browse/SSHD-24