Home
last modified time | relevance | path

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

/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/
DSSLParametersTest.java31 import javax.net.ssl.SNIHostName;
136 dupeNames.add(new SNIHostName("www.example.com")); in test_SSLParameters_setServerNames_duplicatedNameThrows()
137 dupeNames.add(new SNIHostName("www.example.com")); in test_SSLParameters_setServerNames_duplicatedNameThrows()
149 p.setServerNames(Collections.singletonList(new SNIHostName("www.example.com"))); in test_SSLParameters_setServerNames_setNull_getNull()
167 p.setServerNames(Collections.singletonList(new SNIHostName("www.example.com"))); in test_SSLParameters_getServerNames_unmodifiable()
170 actual.add(new SNIHostName("www.foo.com")); in test_SSLParameters_getServerNames_unmodifiable()
181 dupeMatchers.add(SNIHostName.createSNIMatcher("www\\.example\\.com")); in test_SSLParameters_setSNIMatchers_duplicatedNameThrows()
182 dupeMatchers.add(SNIHostName.createSNIMatcher("www\\.example\\.com")); in test_SSLParameters_setSNIMatchers_duplicatedNameThrows()
195 Collections.singletonList(SNIHostName.createSNIMatcher("www\\.example\\.com"))); in test_SSLParameters_setSNIMatchers_setNull_getNull()
205 Collections.singletonList(SNIHostName.createSNIMatcher("www\\.example\\.com"))); in test_SSLParameters_setSNIMatchers_setEmpty_getEmpty()
[all …]
DSNIHostNameTest.java22 import javax.net.ssl.SNIHostName;
41 SNIHostName hostName = new SNIHostName(idnEncoded); in test_byteArray_Constructor()
DSSLSocketTest.java95 import javax.net.ssl.SNIHostName;
2026 clientParams.setServerNames(Collections.singletonList(new SNIHostName("www.example.com"))); in test_SSLSocket_SNIHostName()
2030 Collections.singletonList(SNIHostName.createSNIMatcher("www\\.example\\.com"))); in test_SSLSocket_SNIHostName()
2048 assertTrue(serverName instanceof SNIHostName); in test_SSLSocket_SNIHostName()
2049 SNIHostName serverHostName = (SNIHostName) serverName; in test_SSLSocket_SNIHostName()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DPlatformTest.java22 import javax.net.ssl.SNIHostName;
36 names.add(new SNIHostName("some.host")); in test_setSSLParameters_Socket()
54 assertEquals("some.host", ((SNIHostName)params.getServerNames().get(0)).getAsciiName()); in test_getSSLParameters_Socket()
64 names.add(new SNIHostName("some.host")); in test_setSSLParameters_Engine()
82 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/platform/src/main/java/org/conscrypt/
DPlatform.java45 import javax.net.ssl.SNIHostName;
116 socket.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()
129 new SNIHostName(socket.getHostname()))); in getSSLParameters()
141 engine.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()
154 new SNIHostName(engine.getHostname()))); in getSSLParameters()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java44 import javax.net.ssl.SNIHostName;
241 return ((SNIHostName) serverName).getAsciiName(); in getSniHostnameFromParams()
284 new SNIHostName(socket.getHostname()))); in setParametersSniHostname()
311 new SNIHostName(engine.getHostname()))); in setParametersSniHostname()