Home
last modified time | relevance | path

Searched refs:CipherSuite (Results 1 – 21 of 21) sorted by relevance

/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/handshake/
DCipherSuite.java24 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 …]
DClientHello.java38 public List<CipherSuite> cipherSuites;
49 cipherSuites = new ArrayList<CipherSuite>(cipherSuiteCodes.length); in parseBody()
51 cipherSuites.add(CipherSuite.valueOf(cipherSuiteCodes[i])); in parseBody()
/external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/handshake/
DCipherSuite.java22 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 …]
DClientHello.java36 public List<CipherSuite> cipherSuites;
47 cipherSuites = new ArrayList<CipherSuite>(cipherSuiteCodes.length); in parseBody()
49 cipherSuites.add(CipherSuite.valueOf(cipherSuiteCodes[i])); in parseBody()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DConnectionSpec.java36 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 …]
DCipherSuite.java36 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/
DConnectionSpec.java45 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 …]
DCipherSuite.java34 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/
DConnectionSpec.java43 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 …]
DCipherSuite.java32 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/
DConnectionSpecTest.java47 .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/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpChannelBuilder.java39 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 …]
DUtils.java24 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/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DUtilsTest.java23 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/syzkaller/vendor/google.golang.org/grpc/credentials/
Dcredentials.go125 StandardName: cipherSuiteLookup[t.State.CipherSuite],
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLSocketTest.java65 import org.conscrypt.tlswire.handshake.CipherSuite;
749 CipherSuite cipherSuite = clientHello.cipherSuites.get(i); in test_SSLSocket_ClientHello_cipherSuites()
966 … assertFalse(clientHello.cipherSuites.contains(CipherSuite.valueOf("TLS_FALLBACK_SCSV"))); in test_SSLSocket_tlsFallback_byVersion()
968 … assertTrue(clientHello.cipherSuites.contains(CipherSuite.valueOf("TLS_FALLBACK_SCSV"))); in test_SSLSocket_tlsFallback_byVersion()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLSocketTest.java66 import com.android.org.conscrypt.tlswire.handshake.CipherSuite;
758 CipherSuite cipherSuite = clientHello.cipherSuites.get(i); in test_SSLSocket_ClientHello_cipherSuites()
978 CipherSuite.valueOf("TLS_FALLBACK_SCSV"))); in test_SSLSocket_tlsFallback_byVersion()
981 CipherSuite.valueOf("TLS_FALLBACK_SCSV"))); in test_SSLSocket_tlsFallback_byVersion()
/external/boringssl/src/ssl/test/runner/
Dcommon.go246CipherSuite uint16 // cipher suite in use (TLS_RSA_WITH_RC4_128_SHA,… member
Dconn.go1843 state.CipherSuite = c.cipherSuite.id
Drunner.go797 if cipher := connState.CipherSuite; test.expectedCipher != 0 && cipher != test.expectedCipher {
/external/syzkaller/vendor/golang.org/x/net/http2/
Dserver.go416 if !s.PermitProhibitedCipherSuites && isBadCipher(sc.tlsState.CipherSuite) {
427 …odeInadequateSecurity, fmt.Sprintf("Prohibited TLS 1.2 Cipher Suite: %x", sc.tlsState.CipherSuite))