Skip to content

Commit 1e490f4

Browse files
authored
Merge pull request #184 from cmuchinsky/master
Add support for IBM cipher suites
2 parents 0506e81 + 562b71e commit 1e490f4

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

src/main/java/com/dropbox/core/http/SSLConfig.java

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,30 @@ public class SSLConfig {
7171

7272
// All client ciphersuites allowed by Dropbox.
7373
//
74-
// Including both RFC and OpenSSL ciphersuite naming conventions to support
74+
// Including IBM, RFC and OpenSSL ciphersuite naming conventions to support
7575
// all Android API levels:
7676
// - API Level >= 10 uses the RFC naming convention
7777
// - API Level < 10 uses the OpenSSL naming convention
7878
private static final HashSet<String> ALLOWED_CIPHER_SUITES = new HashSet<String>(Arrays.asList(new String[] {
79+
"SSL_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
80+
"SSL_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
81+
"SSL_ECDHE_RSA_WITH_AES_256_CBC_SHA",
82+
"SSL_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
83+
"SSL_ECDHE_RSA_WITH_AES_128_CBC_SHA256",
84+
"SSL_ECDHE_RSA_WITH_AES_128_CBC_SHA",
85+
"SSL_ECDHE_RSA_WITH_RC4_128_SHA",
86+
"SSL_DHE_RSA_WITH_AES_256_GCM_SHA384",
87+
"SSL_DHE_RSA_WITH_AES_256_CBC_SHA256",
88+
"SSL_DHE_RSA_WITH_AES_256_CBC_SHA",
89+
"SSL_DHE_RSA_WITH_AES_128_GCM_SHA256",
90+
"SSL_DHE_RSA_WITH_AES_128_CBC_SHA256",
91+
"SSL_DHE_RSA_WITH_AES_128_CBC_SHA",
92+
"SSL_RSA_WITH_AES_256_GCM_SHA384",
93+
"SSL_RSA_WITH_AES_256_CBC_SHA256",
94+
"SSL_RSA_WITH_AES_256_CBC_SHA",
95+
"SSL_RSA_WITH_AES_128_GCM_SHA256",
96+
"SSL_RSA_WITH_AES_128_CBC_SHA256",
97+
"SSL_RSA_WITH_AES_128_CBC_SHA",
7998
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
8099
"TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384",
81100
"TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",

0 commit comments

Comments
 (0)