Searched refs:cipherSuites (Results 1 - 22 of 22) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DConnectionSpec.java65 .cipherSuites(APPROVED_CIPHER_SUITES)
81 private final String[] cipherSuites; field in class:ConnectionSpec
86 this.cipherSuites = builder.cipherSuites;
99 public List<CipherSuite> cipherSuites() { method in class:ConnectionSpec
100 if (cipherSuites == null) return null;
102 CipherSuite[] result = new CipherSuite[cipherSuites.length];
103 for (int i = 0; i < cipherSuites.length; i++) {
104 result[i] = CipherSuite.forJavaName(cipherSuites[i]);
134 if (specToApply.cipherSuites !
251 private String[] cipherSuites; field in class:ConnectionSpec.Builder
272 cipherSuites(CipherSuite... cipherSuites) argument
282 cipherSuites(String... cipherSuites) argument
[all...]
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
H A DSSLParametersTest.java53 String[] cipherSuites = new String[] {"foo", null, "bar"};
54 SSLParameters p = new SSLParameters(cipherSuites);
56 assertNotSame(cipherSuites, p.getCipherSuites());
57 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(p.getCipherSuites()));
65 String[] cipherSuites = new String[] {"foo", null, "bar"};
67 SSLParameters p = new SSLParameters(cipherSuites, protocols);
70 assertNotSame(cipherSuites, p.getCipherSuites());
72 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(p.getCipherSuites()));
84 String[] cipherSuites = new String[] {"fnord"};
85 String[] copy = cipherSuites
[all...]
H A DSSLServerSocketTest.java41 String[] cipherSuites = new String[] {socket.getSupportedCipherSuites()[0]};
42 socket.setEnabledCipherSuites(cipherSuites);
43 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(socket.getEnabledCipherSuites()));
H A DSSLEngineTest.java171 String[] cipherSuites = c.clientContext.createSSLEngine().getSupportedCipherSuites();
172 for (String cipherSuite : cipherSuites) {
360 String[] cipherSuites = new String[] {e.getSupportedCipherSuites()[0]};
361 e.setEnabledCipherSuites(cipherSuites);
362 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(e.getEnabledCipherSuites()));
753 String[] cipherSuites = p.getCipherSuites();
754 assertNotSame(cipherSuites, e.getEnabledCipherSuites());
755 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(e.getEnabledCipherSuites()));
H A DSSLSocketTest.java208 String[] cipherSuites = c.clientContext.getSocketFactory().getSupportedCipherSuites();
209 for (String cipherSuite : cipherSuites) {
326 String[] cipherSuites = new String[] {ssl.getSupportedCipherSuites()[0]};
327 ssl.setEnabledCipherSuites(cipherSuites);
328 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(ssl.getEnabledCipherSuites()));
1302 String[] cipherSuites = p.getCipherSuites();
1303 assertNotSame(cipherSuites, ssl.getEnabledCipherSuites());
1304 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(ssl.getEnabledCipherSuites()));
1833 final String[] cipherSuites;
1841 cipherSuites
[all...]
/external/conscrypt/testing/src/main/java/libcore/tlswire/handshake/
H A DClientHello.java36 public List<CipherSuite> cipherSuites; field in class:ClientHello
47 cipherSuites = new ArrayList<CipherSuite>(cipherSuiteCodes.length);
49 cipherSuites.add(CipherSuite.valueOf(cipherSuiteCodes[i]));
95 + new BigInteger(1, sessionId).toString(16) + ", cipher suites: " + cipherSuites
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
H A DServerEndpoint.java62 private final String[] cipherSuites; field in class:ServerEndpoint
73 String[] cipherSuites) throws IOException {
79 this.cipherSuites = cipherSuites;
125 socket.setEnabledCipherSuites(cipherSuites);
71 ServerEndpoint(SSLSocketFactory socketFactory, SSLServerSocketFactory serverSocketFactory, ChannelType channelType, int messageSize, String[] protocols, String[] cipherSuites) argument
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DConnectionSpecTest.java47 .cipherSuites(new CipherSuite[0])
62 .cipherSuites(CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA)
66 assertEquals(Arrays.asList(CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA), tlsSpec.cipherSuites());
76 assertNull(tlsSpec.cipherSuites());
142 .cipherSuites(CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA)
173 .cipherSuites("MAGIC-CIPHER")
180 .cipherSuites(CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA)
207 assertNull(tlsSpec.cipherSuites());
241 .cipherSuites(CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA)
287 assertEquals("ConnectionSpec(cipherSuites
[all...]
/external/conscrypt/libcore-stub/src/main/java/libcore/java/security/
H A DStandardNames.java927 Set<String> expected, String[] cipherSuites) {
928 assertNotNull(cipherSuites);
929 assertTrue(cipherSuites.length != 0);
931 // Make sure all cipherSuites names are expected
934 for (String cipherSuite : cipherSuites) {
945 * After using assertValidCipherSuites on cipherSuites,
949 private static void assertSupportedCipherSuites(Set<String> expected, String[] cipherSuites) { argument
950 Set<String> remainingCipherSuites = assertValidCipherSuites(expected, cipherSuites);
952 assertEquals(expected.size(), cipherSuites.length);
999 public static void assertValidCipherSuites(String[] cipherSuites) { argument
926 assertValidCipherSuites( Set<String> expected, String[] cipherSuites) argument
1006 assertSupportedCipherSuites(String[] cipherSuites) argument
1014 assertDefaultCipherSuites(String[] cipherSuites) argument
[all...]
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DNativeCrypto.java902 static void setEnabledCipherSuites(long ssl, String[] cipherSuites) { argument
903 checkEnabledCipherSuites(cipherSuites);
905 for (int i = 0; i < cipherSuites.length; i++) {
906 String cipherSuite = cipherSuites[i];
919 static String[] checkEnabledCipherSuites(String[] cipherSuites) { argument
920 if (cipherSuites == null) {
921 throw new IllegalArgumentException("cipherSuites == null");
924 for (int i = 0; i < cipherSuites.length; i++) {
925 if (cipherSuites[i] == null) {
926 throw new IllegalArgumentException("cipherSuites["
[all...]
H A DSSLParametersImpl.java216 void setEnabledCipherSuites(String[] cipherSuites) { argument
217 enabledCipherSuites = NativeCrypto.checkEnabledCipherSuites(cipherSuites).clone();
/external/nist-sip/java/gov/nist/javax/sip/
H A DSipStackImpl.java469 private String[] cipherSuites = { field in class:SipStackImpl
1411 cipherSuites = newCipherSuites;
1420 return cipherSuites;
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
H A DNativeCryptoTest.java740 List<String> cipherSuites = new ArrayList<String>();
742 cipherSuites.add("ECDHE-RSA-AES128-SHA");
746 cipherSuites.add(0, "PSK-AES128-CBC-SHA");
749 cipherSuites.addAll(enabledCipherSuites);
752 s, cipherSuites.toArray(new String[cipherSuites.size()]));
/external/conscrypt/common/src/jni/main/cpp/
H A DNativeCrypto.cpp6666 jobjectArray cipherSuites) {
6668 JNI_TRACE("ssl=%p NativeCrypto_SSL_set_cipher_lists cipherSuites=%p", ssl, cipherSuites);
6672 if (cipherSuites == nullptr) {
6673 Errors::jniThrowNullPointerException(env, "cipherSuites == null");
6677 int length = env->GetArrayLength(cipherSuites);
6687 JNI_TRACE("ssl=%p NativeCrypto_SSL_set_cipher_lists cipherSuites=empty", ssl);
6691 JNI_TRACE("ssl=%p NativeCrypto_SSL_set_cipher_lists cipherSuites=empty => error", ssl);
6702 reinterpret_cast<jstring>(env->GetObjectArrayElement(cipherSuites, i)));
6740 reinterpret_cast<jstring>(env->GetObjectArrayElement(cipherSuites,
6665 NativeCrypto_SSL_set_cipher_lists(JNIEnv* env, jclass, jlong ssl_address, jobjectArray cipherSuites) argument
[all...]
/external/guice/extensions/struts2/lib/
H A Djetty-6.1.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/mortbay/jetty/ org/mortbay/jetty/webapp/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
/external/robolectric/v1/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...

Completed in 407 milliseconds