/external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/handshake/ |
D | CipherSuite.java | 22 public class CipherSuite { class 25 private static final CipherSuite[] CIPHER_SUITES = new CipherSuite[] { 26 new CipherSuite(0x0000, "TLS_NULL_WITH_NULL_NULL"), 27 new CipherSuite(0x0001, "TLS_RSA_WITH_NULL_MD5", "SSL_RSA_WITH_NULL_MD5"), 28 new CipherSuite(0x0002, "TLS_RSA_WITH_NULL_SHA", "SSL_RSA_WITH_NULL_SHA"), 29 … new CipherSuite(0x0003, "TLS_RSA_EXPORT_WITH_RC4_40_MD5", "SSL_RSA_EXPORT_WITH_RC4_40_MD5"), 30 new CipherSuite(0x0004, "TLS_RSA_WITH_RC4_128_MD5", "SSL_RSA_WITH_RC4_128_MD5"), 31 new CipherSuite(0x0005, "TLS_RSA_WITH_RC4_128_SHA", "SSL_RSA_WITH_RC4_128_SHA"), 32 new CipherSuite(0x0006, "TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5"), 33 new CipherSuite(0x0007, "TLS_RSA_WITH_IDEA_CBC_SHA"), [all …]
|
D | ClientHello.java | 36 public List<CipherSuite> cipherSuites; 47 cipherSuites = new ArrayList<CipherSuite>(cipherSuiteCodes.length); in parseBody() 49 cipherSuites.add(CipherSuite.valueOf(cipherSuiteCodes[i])); in parseBody()
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/handshake/ |
D | CipherSuite.java | 24 public class CipherSuite { class 27 private static final CipherSuite[] CIPHER_SUITES = new CipherSuite[] { 28 new CipherSuite(0x0000, "TLS_NULL_WITH_NULL_NULL"), 29 new CipherSuite(0x0001, "TLS_RSA_WITH_NULL_MD5", "SSL_RSA_WITH_NULL_MD5"), 30 new CipherSuite(0x0002, "TLS_RSA_WITH_NULL_SHA", "SSL_RSA_WITH_NULL_SHA"), 31 new CipherSuite( 33 new CipherSuite(0x0004, "TLS_RSA_WITH_RC4_128_MD5", "SSL_RSA_WITH_RC4_128_MD5"), 34 new CipherSuite(0x0005, "TLS_RSA_WITH_RC4_128_SHA", "SSL_RSA_WITH_RC4_128_SHA"), 35 new CipherSuite(0x0006, "TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5"), 36 new CipherSuite(0x0007, "TLS_RSA_WITH_IDEA_CBC_SHA"), [all …]
|
D | ClientHello.java | 38 public List<CipherSuite> cipherSuites; 49 cipherSuites = new ArrayList<CipherSuite>(cipherSuiteCodes.length); in parseBody() 51 cipherSuites.add(CipherSuite.valueOf(cipherSuiteCodes[i])); in parseBody()
|
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/ |
D | ConnectionSpec.java | 36 private static final CipherSuite[] APPROVED_CIPHER_SUITES = new CipherSuite[] { 37 CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, 38 CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, 39 CipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, 44 CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, 45 CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, 46 CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, 47 CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, 48 CipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA, 49 CipherSuite.TLS_DHE_DSS_WITH_AES_128_CBC_SHA, [all …]
|
D | CipherSuite.java | 36 public enum CipherSuite { enum 369 private CipherSuite( in CipherSuite() method in CipherSuite 374 public static CipherSuite forJavaName(String javaName) { in forJavaName()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
D | ConnectionSpec.java | 45 private static final CipherSuite[] APPROVED_CIPHER_SUITES = new CipherSuite[] { 46 CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, 47 CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, 48 CipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, 53 CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, 54 CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, 55 CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, 56 CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, 57 CipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA, 58 CipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA, [all …]
|
D | CipherSuite.java | 34 public enum CipherSuite { enum 367 private CipherSuite( in CipherSuite() method in CipherSuite 372 public static CipherSuite forJavaName(String javaName) { in forJavaName()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | ConnectionSpec.java | 43 private static final CipherSuite[] APPROVED_CIPHER_SUITES = new CipherSuite[] { 44 CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, 45 CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, 46 CipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, 51 CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, 52 CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, 53 CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, 54 CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, 55 CipherSuite.TLS_DHE_RSA_WITH_AES_128_CBC_SHA, 56 CipherSuite.TLS_DHE_RSA_WITH_AES_256_CBC_SHA, [all …]
|
D | CipherSuite.java | 32 public enum CipherSuite { enum 365 private CipherSuite( in CipherSuite() method in CipherSuite 370 public static CipherSuite forJavaName(String javaName) { in forJavaName()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | ConnectionSpecTest.java | 47 .cipherSuites(new CipherSuite[0]) in noCipherSuites() 62 .cipherSuites(CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA) in tlsBuilder_explicitCiphers() 66 assertEquals(Arrays.asList(CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA), tlsSpec.cipherSuites()); in tlsBuilder_explicitCiphers() 89 CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA.javaName, in tls_defaultCiphers_noFallbackIndicator() 91 CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256.javaName, in tls_defaultCiphers_noFallbackIndicator() 105 CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA.javaName, in tls_defaultCiphers_noFallbackIndicator() 107 CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256.javaName); in tls_defaultCiphers_noFallbackIndicator() 119 CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA.javaName, in tls_defaultCiphers_withFallbackIndicator() 121 CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256.javaName, in tls_defaultCiphers_withFallbackIndicator() 135 CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA.javaName, in tls_defaultCiphers_withFallbackIndicator() [all …]
|
/external/conscrypt/common/src/test/java/org/conscrypt/metrics/ |
D | CipherSuiteTest.java | 14 for (CipherSuite cipherSuite : CipherSuite.values()) { in consistency() 15 assertSame(cipherSuite, CipherSuite.forName(cipherSuite.name())); in consistency() 17 assertSame(CipherSuite.UNKNOWN_CIPHER_SUITE, CipherSuite.forName("random junk")); in consistency()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/metrics/ |
D | CipherSuiteTest.java | 18 for (CipherSuite cipherSuite : CipherSuite.values()) { in consistency() 19 assertSame(cipherSuite, CipherSuite.forName(cipherSuite.name())); in consistency() 21 assertSame(CipherSuite.UNKNOWN_CIPHER_SUITE, CipherSuite.forName("random junk")); in consistency()
|
/external/conscrypt/common/src/main/java/org/conscrypt/metrics/ |
D | CipherSuite.java | 29 public enum CipherSuite { enum 70 public static CipherSuite forName(String name) { in forName() 72 return CipherSuite.valueOf(name); in forName() 74 return CipherSuite.UNKNOWN_CIPHER_SUITE; in forName() 78 private CipherSuite(int id) { in CipherSuite() method in CipherSuite
|
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
D | OkHttpChannelBuilder.java | 39 import io.grpc.okhttp.internal.CipherSuite; 95 com.squareup.okhttp.CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, 96 com.squareup.okhttp.CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, 97 com.squareup.okhttp.CipherSuite.TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, 98 com.squareup.okhttp.CipherSuite.TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, 99 com.squareup.okhttp.CipherSuite.TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, 100 com.squareup.okhttp.CipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256, 101 com.squareup.okhttp.CipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, 102 com.squareup.okhttp.CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384) 112 CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, [all …]
|
D | Utils.java | 24 import io.grpc.okhttp.internal.CipherSuite; 76 List<com.squareup.okhttp.CipherSuite> cipherSuiteList = spec.cipherSuites(); in convertSpec() 77 CipherSuite[] cipherSuites = new CipherSuite[cipherSuiteList.size()]; in convertSpec() 79 cipherSuites[i] = CipherSuite.valueOf(cipherSuiteList.get(i).name()); in convertSpec()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/metrics/ |
D | CipherSuite.java | 31 public enum CipherSuite { enum 72 public static CipherSuite forName(String name) { in forName() 74 return CipherSuite.valueOf(name); in forName() 76 return CipherSuite.UNKNOWN_CIPHER_SUITE; in forName() 80 private CipherSuite(int id) { in CipherSuite() method in CipherSuite
|
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | UtilsTest.java | 23 import io.grpc.okhttp.internal.CipherSuite; 59 List<com.squareup.okhttp.CipherSuite> squareCipherSuites = squareSpec.cipherSuites(); in convertSpecKeepsAllData() 60 List<CipherSuite> cipherSuites = spec.cipherSuites(); in convertSpecKeepsAllData() 71 assertEquals(CipherSuite.forJavaName(squareCipherSuites.get(i).name()), cipherSuites.get(i)); in convertSpecKeepsAllData()
|
/external/conscrypt/platform/src/main/java/org/conscrypt/ |
D | Platform.java | 68 import org.conscrypt.metrics.CipherSuite; 554 CipherSuite suite = CipherSuite.forName(cipherSuite); in countTlsHandshake()
|
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/ |
D | Platform.java | 30 import com.android.org.conscrypt.metrics.CipherSuite; 555 CipherSuite suite = CipherSuite.forName(cipherSuite); in countTlsHandshake()
|
/external/conscrypt/android/src/main/java/org/conscrypt/ |
D | Platform.java | 63 import org.conscrypt.metrics.CipherSuite; 1063 CipherSuite suite = CipherSuite.forName(cipherSuite); in countTlsHandshake()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLSocketTest.java | 33 import com.android.org.conscrypt.tlswire.handshake.CipherSuite; 898 CipherSuite cipherSuite = clientHello.cipherSuites.get(i); in test_SSLSocket_ClientHello_cipherSuites() 1115 … assertFalse(clientHello.cipherSuites.contains(CipherSuite.valueOf("TLS_FALLBACK_SCSV"))); in test_SSLSocket_tlsFallback_byVersion() 1117 … assertTrue(clientHello.cipherSuites.contains(CipherSuite.valueOf("TLS_FALLBACK_SCSV"))); in test_SSLSocket_tlsFallback_byVersion()
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLSocketTest.java | 66 import org.conscrypt.tlswire.handshake.CipherSuite; 894 CipherSuite cipherSuite = clientHello.cipherSuites.get(i); in test_SSLSocket_ClientHello_cipherSuites() 1111 … assertFalse(clientHello.cipherSuites.contains(CipherSuite.valueOf("TLS_FALLBACK_SCSV"))); in test_SSLSocket_tlsFallback_byVersion() 1113 … assertTrue(clientHello.cipherSuites.contains(CipherSuite.valueOf("TLS_FALLBACK_SCSV"))); in test_SSLSocket_tlsFallback_byVersion()
|
/external/boringssl/src/ssl/test/runner/ |
D | common.go | 250 …CipherSuite uint16 // cipher suite in use (TLS_RSA_WITH_RC4_128_SHA,… member
|
D | conn.go | 1887 state.CipherSuite = c.cipherSuite.id
|