Home
last modified time | relevance | path

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

/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLParametersTest.java32 import javax.net.ssl.SNIHostName;
142 dupeNames.add(new SNIHostName("www.example.com")); in test_SSLParameters_setServerNames_duplicatedNameThrows()
143 dupeNames.add(new SNIHostName("www.example.com")); in test_SSLParameters_setServerNames_duplicatedNameThrows()
157 Collections.singletonList((SNIServerName) new SNIHostName("www.example.com"))); in test_SSLParameters_setServerNames_setNull_getNull()
178 Collections.singletonList((SNIServerName) new SNIHostName("www.example.com"))); in test_SSLParameters_getServerNames_unmodifiable()
181 actual.add(new SNIHostName("www.foo.com")); in test_SSLParameters_getServerNames_unmodifiable()
193 dupeMatchers.add(SNIHostName.createSNIMatcher("www\\.example\\.com")); in test_SSLParameters_setSNIMatchers_duplicatedNameThrows()
194 dupeMatchers.add(SNIHostName.createSNIMatcher("www\\.example\\.com")); in test_SSLParameters_setSNIMatchers_duplicatedNameThrows()
208 Collections.singletonList(SNIHostName.createSNIMatcher("www\\.example\\.com"))); in test_SSLParameters_setSNIMatchers_setNull_getNull()
219 Collections.singletonList(SNIHostName.createSNIMatcher("www\\.example\\.com"))); in test_SSLParameters_setSNIMatchers_setEmpty_getEmpty()
[all …]
DSNIHostNameTest.java23 import javax.net.ssl.SNIHostName;
48 SNIHostName hostName = new SNIHostName(idnEncoded); in test_byteArray_Constructor()
DSSLSocketVersionCompatibilityTest.java101 import javax.net.ssl.SNIHostName;
1827 Collections.singletonList((SNIServerName) new SNIHostName("www.example.com"))); in test_SSLSocket_SNIHostName()
1831 Collections.singletonList(SNIHostName.createSNIMatcher("www\\.example\\.com"))); in test_SSLSocket_SNIHostName()
1852 assertTrue(serverName instanceof SNIHostName); in test_SSLSocket_SNIHostName()
1853 SNIHostName serverHostName = (SNIHostName) serverName; in test_SSLSocket_SNIHostName()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLParametersTest.java31 import javax.net.ssl.SNIHostName;
138 dupeNames.add(new SNIHostName("www.example.com")); in test_SSLParameters_setServerNames_duplicatedNameThrows()
139 dupeNames.add(new SNIHostName("www.example.com")); in test_SSLParameters_setServerNames_duplicatedNameThrows()
153 Collections.singletonList((SNIServerName) new SNIHostName("www.example.com"))); in test_SSLParameters_setServerNames_setNull_getNull()
174 Collections.singletonList((SNIServerName) new SNIHostName("www.example.com"))); in test_SSLParameters_getServerNames_unmodifiable()
177 actual.add(new SNIHostName("www.foo.com")); in test_SSLParameters_getServerNames_unmodifiable()
189 dupeMatchers.add(SNIHostName.createSNIMatcher("www\\.example\\.com")); in test_SSLParameters_setSNIMatchers_duplicatedNameThrows()
190 dupeMatchers.add(SNIHostName.createSNIMatcher("www\\.example\\.com")); in test_SSLParameters_setSNIMatchers_duplicatedNameThrows()
204 Collections.singletonList(SNIHostName.createSNIMatcher("www\\.example\\.com"))); in test_SSLParameters_setSNIMatchers_setNull_getNull()
215 Collections.singletonList(SNIHostName.createSNIMatcher("www\\.example\\.com"))); in test_SSLParameters_setSNIMatchers_setEmpty_getEmpty()
[all …]
DSNIHostNameTest.java22 import javax.net.ssl.SNIHostName;
44 SNIHostName hostName = new SNIHostName(idnEncoded); in test_byteArray_Constructor()
DSSLSocketVersionCompatibilityTest.java100 import javax.net.ssl.SNIHostName;
1810 Collections.singletonList((SNIServerName) new SNIHostName("www.example.com"))); in test_SSLSocket_SNIHostName()
1814 Collections.singletonList(SNIHostName.createSNIMatcher("www\\.example\\.com"))); in test_SSLSocket_SNIHostName()
1835 assertTrue(serverName instanceof SNIHostName); in test_SSLSocket_SNIHostName()
1836 SNIHostName serverHostName = (SNIHostName) serverName; in test_SSLSocket_SNIHostName()
/external/conscrypt/openjdk/src/main/java/org/conscrypt/
DJava8PlatformUtil.java23 import javax.net.ssl.SNIHostName;
42 socket.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()
55 (SNIServerName) new SNIHostName(socket.getHostname()))); in getSSLParameters()
68 engine.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()
80 (SNIServerName) new SNIHostName(engine.getHostname()))); in getSSLParameters()
/external/conscrypt/repackaged/openjdk/src/main/java/com/android/org/conscrypt/
DJava8PlatformUtil.java24 import javax.net.ssl.SNIHostName;
43 socket.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()
56 (SNIServerName) new SNIHostName(socket.getHostname()))); in getSSLParameters()
69 engine.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()
81 (SNIServerName) new SNIHostName(engine.getHostname()))); in getSSLParameters()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DPlatformTest.java28 import javax.net.ssl.SNIHostName;
74 names.add(new SNIHostName("some.host")); in test_setSSLParameters_Socket()
105 assertEquals("some.host", ((SNIHostName) params.getServerNames().get(0)).getAsciiName()); in test_getSSLParameters_Socket()
120 names.add(new SNIHostName("some.host")); in test_setSSLParameters_Engine()
151 assertEquals("some.host", ((SNIHostName) params.getServerNames().get(0)).getAsciiName()); in test_getSSLParameters_Engine()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DPlatformTest.java27 import javax.net.ssl.SNIHostName;
72 names.add(new SNIHostName("some.host")); in test_setSSLParameters_Socket()
103 assertEquals("some.host", ((SNIHostName) params.getServerNames().get(0)).getAsciiName()); in test_getSSLParameters_Socket()
118 names.add(new SNIHostName("some.host")); in test_setSSLParameters_Engine()
149 assertEquals("some.host", ((SNIHostName) params.getServerNames().get(0)).getAsciiName()); in test_getSSLParameters_Engine()
/external/conscrypt/android-stub/src/main/java/javax/net/ssl/
DSNIHostName.java22 public final class SNIHostName extends SNIServerName { class
23 public SNIHostName(String hostname) { in SNIHostName() method in SNIHostName
/external/conscrypt/common/src/main/java/org/conscrypt/
DJava8ExtendedSSLSession.java22 import javax.net.ssl.SNIHostName;
42 return Collections.singletonList((SNIServerName) new SNIHostName(requestedServerName)); in getRequestedServerNames()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DJava8ExtendedSSLSession.java23 import javax.net.ssl.SNIHostName;
42 return Collections.singletonList((SNIServerName) new SNIHostName(requestedServerName)); in getRequestedServerNames()
/external/conscrypt/platform/src/main/java/org/conscrypt/
DPlatform.java50 import javax.net.ssl.SNIHostName;
138 socket.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()
152 new SNIHostName(socket.getHostname()))); in getSSLParameters()
165 engine.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()
179 new SNIHostName(engine.getHostname()))); in getSSLParameters()
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/
DPlatform.java51 import javax.net.ssl.SNIHostName;
139 socket.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()
153 new SNIHostName(socket.getHostname()))); in getSSLParameters()
166 engine.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()
180 new SNIHostName(engine.getHostname()))); in getSSLParameters()
/external/okhttp/android/src/main/java/com/squareup/okhttp/internal/
DPlatform.java32 import javax.net.ssl.SNIHostName;
128 Collections.<SNIServerName>singletonList(new SNIHostName(hostname))); in configureTlsExtensions()
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internal/
DPlatform.java33 import javax.net.ssl.SNIHostName;
132 Collections.<SNIServerName>singletonList(new SNIHostName(hostname))); in configureTlsExtensions()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java50 import javax.net.ssl.SNIHostName;
278 return ((SNIHostName) serverName).getAsciiName(); in getSniHostnameFromParams()
321 new SNIHostName(socket.getHostname()))); in setParametersSniHostname()
348 new SNIHostName(engine.getHostname()))); in setParametersSniHostname()