Searched refs:SNIHostName (Results 1 – 5 of 5) sorted by relevance
60 public final class SNIHostName extends SNIServerName { class95 public SNIHostName(String hostname) { in SNIHostName() method in SNIHostName162 public SNIHostName(byte[] encoded) { in SNIHostName() method in SNIHostName223 if (other instanceof SNIHostName) { in equals()224 return hostname.equalsIgnoreCase(((SNIHostName)other).hostname); in equals()369 SNIHostName hostname; in matches()370 if (!(serverName instanceof SNIHostName)) { in matches()377 hostname = new SNIHostName(serverName.getEncoded()); in matches()382 hostname = (SNIHostName)serverName; in matches()
23 import javax.net.ssl.SNIHostName;118 dupeNames.add((SNIServerName) new SNIHostName("www.example.com")); in test_SSLParameters_setServerNames_duplicatedNameThrows()119 dupeNames.add((SNIServerName) new SNIHostName("www.example.com")); in test_SSLParameters_setServerNames_duplicatedNameThrows()130 (SNIServerName) new SNIHostName("www.example.com"))); in test_SSLParameters_setServerNames_setNull_getNull()147 (SNIServerName) new SNIHostName("www.example.com"))); in test_SSLParameters_getServerNames_unmodifiable()150 actual.add((SNIServerName) new SNIHostName("www.foo.com")); in test_SSLParameters_getServerNames_unmodifiable()159 dupeMatchers.add(SNIHostName.createSNIMatcher("www\\.example\\.com")); in test_SSLParameters_setSNIMatchers_duplicatedNameThrows()160 dupeMatchers.add(SNIHostName.createSNIMatcher("www\\.example\\.com")); in test_SSLParameters_setSNIMatchers_duplicatedNameThrows()171 SNIHostName.createSNIMatcher("www\\.example\\.com"))); in test_SSLParameters_setSNIMatchers_setNull_getNull()180 SNIHostName.createSNIMatcher("www\\.example\\.com"))); in test_SSLParameters_setSNIMatchers_setEmpty_getEmpty()[all …]
20 import javax.net.ssl.SNIHostName;35 SNIHostName hostName = new SNIHostName(idnEncoded); in test_byteArray_Constructor()
86 import javax.net.ssl.SNIHostName;2278 (SNIServerName) new SNIHostName("www.example.com"))); in test_SSLSocket_SNIHostName()2283 SNIHostName.createSNIMatcher("www\\.example\\.com"))); in test_SSLSocket_SNIHostName()2307 assertTrue(serverName instanceof SNIHostName); in test_SSLSocket_SNIHostName()2308 SNIHostName serverHostName = (SNIHostName) serverName; in test_SSLSocket_SNIHostName()
1274 ojluni/src/main/java/javax/net/ssl/SNIHostName.java \