Home
last modified time | relevance | path

Searched refs:cipherSuites (Results 1 – 18 of 18) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DConnectionSpec.java56 .cipherSuites(APPROVED_CIPHER_SUITES)
76 private final String[] cipherSuites; field in ConnectionSpec
85 this.cipherSuites = builder.cipherSuites; in ConnectionSpec()
98 public List<CipherSuite> cipherSuites() { in cipherSuites() method in ConnectionSpec
99 if (cipherSuites == null) { in cipherSuites()
102 CipherSuite[] result = new CipherSuite[cipherSuites.length]; in cipherSuites()
103 for (int i = 0; i < cipherSuites.length; i++) { in cipherSuites()
104 result[i] = CipherSuite.forJavaName(cipherSuites[i]); in cipherSuites()
127 String[] cipherSuitesToEnable = specToApply.cipherSuites; in apply()
140 if (cipherSuites != null) { in supportedSpec()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionSpecTest.java42 .cipherSuites(CipherSuite.TLS_RSA_WITH_RC4_128_MD5) in tlsBuilder_explicitCiphers()
46 assertEquals(Arrays.asList(CipherSuite.TLS_RSA_WITH_RC4_128_MD5), tlsSpec.cipherSuites()); in tlsBuilder_explicitCiphers()
57 assertNull(tlsSpec.cipherSuites()); in tlsBuilder_defaultCiphers()
126 .cipherSuites(CipherSuite.TLS_RSA_WITH_RC4_128_MD5) in tls_explicitCiphers()
158 .cipherSuites("MAGIC-CIPHER") in tls_stringCiphersAndVersions()
165 .cipherSuites(CipherSuite.TLS_RSA_WITH_RC4_128_MD5) in tls_missingRequiredCipher()
191 .cipherSuites(CipherSuite.TLS_RSA_WITH_RC4_128_MD5) in tls_missingTlsVersion()
/external/boringssl/src/ssl/test/runner/
Dhandshake_messages.go16 cipherSuites []uint16 member
49 eqUint16s(m.cipherSuites, m1.cipherSuites) &&
76 length := 2 + 32 + 1 + len(m.sessionId) + 2 + len(m.cipherSuites)*2 + 1 + len(m.compressionMethods)
163 y[0] = uint8(len(m.cipherSuites) >> 7)
164 y[1] = uint8(len(m.cipherSuites) << 1)
165 for i, suite := range m.cipherSuites {
169 z := y[2+len(m.cipherSuites)*2:]
419 m.cipherSuites = make([]uint16, numCipherSuites)
421 m.cipherSuites[i] = uint16(data[2+2*i])<<8 | uint16(data[3+2*i])
422 if m.cipherSuites[i] == scsvRenegotiation {
[all …]
Dhandshake_client.go103 possibleCipherSuites := c.config.cipherSuites()
104 hello.cipherSuites = make([]uint16, 0, len(possibleCipherSuites))
108 for _, suite := range cipherSuites {
121 hello.cipherSuites = append(hello.cipherSuites, suiteId)
127 hello.cipherSuites = append(hello.cipherSuites, fallbackSCSV)
157 for _, id := range hello.cipherSuites {
209 cipherSuites: hello.cipherSuites,
269 suite := mutualCipherSuite(c.config.cipherSuites(), serverHello.cipherSuite)
Dhandshake_server.go352 for _, cipherSuite := range hs.clientHello.cipherSuites {
366 hs.clientHello.cipherSuites = c.config.cipherSuites()
370 preferenceList = c.config.cipherSuites()
371 supportedList = hs.clientHello.cipherSuites
373 preferenceList = hs.clientHello.cipherSuites
374 supportedList = c.config.cipherSuites()
423 for _, id := range hs.clientHello.cipherSuites {
434 …hs.suite = c.tryCipherSuite(hs.sessionState.cipherSuite, c.config.cipherSuites(), hs.sessionState.…
1003 for _, s := range cipherSuites {
Dcommon.go765 func (c *Config) cipherSuites() []uint16 { func
1059 for _, suite := range cipherSuites {
Dcipher_suites.go86 var cipherSuites = []*cipherSuite{ var
359 for _, suite := range cipherSuites {
/external/conscrypt/src/main/java/org/conscrypt/
DNativeCrypto.java946 public static void setEnabledCipherSuites(long ssl, String[] cipherSuites) { in setEnabledCipherSuites() argument
947 checkEnabledCipherSuites(cipherSuites); in setEnabledCipherSuites()
949 for (int i = 0; i < cipherSuites.length; i++) { in setEnabledCipherSuites()
950 String cipherSuite = cipherSuites[i]; in setEnabledCipherSuites()
965 public static String[] checkEnabledCipherSuites(String[] cipherSuites) { in checkEnabledCipherSuites() argument
966 if (cipherSuites == null) { in checkEnabledCipherSuites()
970 for (int i = 0; i < cipherSuites.length; i++) { in checkEnabledCipherSuites()
971 String cipherSuite = cipherSuites[i]; in checkEnabledCipherSuites()
992 return cipherSuites; in checkEnabledCipherSuites()
DSSLParametersImpl.java246 protected void setEnabledCipherSuites(String[] cipherSuites) { in setEnabledCipherSuites() argument
247 enabledCipherSuites = NativeCrypto.checkEnabledCipherSuites(cipherSuites).clone(); in setEnabledCipherSuites()
/external/jetty/src/java/org/eclipse/jetty/server/ssl/
DSslSocketConnector.java402 public void setExcludeCipherSuites(String[] cipherSuites) in setExcludeCipherSuites() argument
404 _sslContextFactory.setExcludeCipherSuites(cipherSuites); in setExcludeCipherSuites()
413 public void setIncludeCipherSuites(String[] cipherSuites) in setIncludeCipherSuites() argument
415 _sslContextFactory.setIncludeCipherSuites(cipherSuites); in setIncludeCipherSuites()
DSslSelectChannelConnector.java159 public void setExcludeCipherSuites(String[] cipherSuites) in setExcludeCipherSuites() argument
161 _sslContextFactory.setExcludeCipherSuites(cipherSuites); in setExcludeCipherSuites()
181 public void setIncludeCipherSuites(String[] cipherSuites) in setIncludeCipherSuites() argument
183 _sslContextFactory.setIncludeCipherSuites(cipherSuites); in setIncludeCipherSuites()
DSslConnector.java80 public abstract void setExcludeCipherSuites(String[] cipherSuites); in setExcludeCipherSuites() argument
98 public abstract void setIncludeCipherSuites(String[] cipherSuites); in setIncludeCipherSuites() argument
/external/jetty/src/java/org/eclipse/jetty/util/ssl/
DSslContextFactory.java380 public void setExcludeCipherSuites(String... cipherSuites) in setExcludeCipherSuites() argument
384 _excludeCipherSuites.addAll(Arrays.asList(cipherSuites)); in setExcludeCipherSuites()
413 public void setIncludeCipherSuites(String... cipherSuites) in setIncludeCipherSuites() argument
417 _includeCipherSuites = new LinkedHashSet<String>(Arrays.asList(cipherSuites)); in setIncludeCipherSuites()
/external/nist-sip/java/gov/nist/javax/sip/
DSipStackImpl.java469 private String[] cipherSuites = { field in SipStackImpl
1411 cipherSuites = newCipherSuites; in setEnabledCipherSuites()
1420 return cipherSuites; in getEnabledCipherSuites()
/external/conscrypt/src/test/java/org/conscrypt/
DNativeCryptoTest.java652 List<String> cipherSuites = new ArrayList<String>(); in beforeHandshake() local
654 cipherSuites.add("RC4-MD5"); in beforeHandshake()
658 cipherSuites.add(0, "PSK-AES128-CBC-SHA"); in beforeHandshake()
661 cipherSuites.addAll(enabledCipherSuites); in beforeHandshake()
664 s, cipherSuites.toArray(new String[cipherSuites.size()])); in beforeHandshake()
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp8717 jobjectArray cipherSuites) { argument
8719 JNI_TRACE("ssl=%p NativeCrypto_SSL_set_cipher_lists cipherSuites=%p", ssl, cipherSuites);
8723 if (cipherSuites == NULL) {
8728 int length = env->GetArrayLength(cipherSuites);
8753 reinterpret_cast<jstring>(env->GetObjectArrayElement(cipherSuites, i)));
8791 reinterpret_cast<jstring>(env->GetObjectArrayElement(cipherSuites, i)));
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.mortbay.jetty.server_6.1.23.v201004211559.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...