Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/javax/net/ssl/
DSNIHostName.java60 public final class SNIHostName extends SNIServerName { class
95 public SNIHostName(String hostname) { in SNIHostName() method in SNIHostName
162 public SNIHostName(byte[] encoded) { in SNIHostName() method in SNIHostName
223 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()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLParametersTest.java23 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 …]
DSNIHostNameTest.java20 import javax.net.ssl.SNIHostName;
35 SNIHostName hostName = new SNIHostName(idnEncoded); in test_byteArray_Constructor()
DSSLSocketTest.java86 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()
/libcore/
Dopenjdk_java_files.mk1274 ojluni/src/main/java/javax/net/ssl/SNIHostName.java \