int len = OLD_CIPHER_MAPPING.length;
for(int i=0; i<len; i++) {
String nonStdName = OLD_CIPHER_MAPPING[i][0];
String stdName = OLD_CIPHER_MAPPING[i][1];
ciphers.put(nonStdName,
new CipherInfo(nonStdName, stdName, (short)(SSL3|TLS)) );
}
SSLServerSocketFactory factory =
(SSLServerSocketFactory)SSLServerSocketFactory.getDefault();
String[] supportedCiphers = factory.getDefaultCipherSuites();
len = supportedCiphers.length;
for(int i=0; i<len; i++) {
String s = supportedCiphers[i];
ciphers.put(s, new CipherInfo(s, s, (short)(SSL3|TLS)) );
}
this.configName = configName;
this.cipherName = cipherName;
this.protocolVersion = protocolVersion;