Searched refs:SNIHostName (Results 1 – 7 of 7) sorted by relevance
31 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 …]
22 import javax.net.ssl.SNIHostName;41 SNIHostName hostName = new SNIHostName(idnEncoded); in test_byteArray_Constructor()
95 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()
22 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()
22 public final class SNIHostName extends SNIServerName { class23 public SNIHostName(String hostname) { in SNIHostName() method in SNIHostName
45 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()
44 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()