Searched refs:getAsciiName (Results 1 – 12 of 12) sorted by relevance
42 socket.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()68 engine.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()
43 socket.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()69 engine.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()
27 public String getAsciiName() { in getAsciiName() method in SNIHostName
105 assertEquals("some.host", ((SNIHostName) params.getServerNames().get(0)).getAsciiName()); in test_getSSLParameters_Socket()151 assertEquals("some.host", ((SNIHostName) params.getServerNames().get(0)).getAsciiName()); in test_getSSLParameters_Engine()
103 assertEquals("some.host", ((SNIHostName) params.getServerNames().get(0)).getAsciiName()); in test_getSSLParameters_Socket()149 assertEquals("some.host", ((SNIHostName) params.getServerNames().get(0)).getAsciiName()); in test_getSSLParameters_Engine()
45 assertEquals("xn--ihqwcrb4cv8a8dqg056pqjye", hostName.getAsciiName()); in test_byteArray_Constructor()
1837 assertEquals("www.example.com", serverHostName.getAsciiName()); in test_SSLSocket_SNIHostName()
49 assertEquals("xn--ihqwcrb4cv8a8dqg056pqjye", hostName.getAsciiName()); in test_byteArray_Constructor()
1854 assertEquals("www.example.com", serverHostName.getAsciiName()); in test_SSLSocket_SNIHostName()
138 socket.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()165 engine.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()
139 socket.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()166 engine.setHostname(((SNIHostName) serverName).getAsciiName()); in setSSLParameters()
278 return ((SNIHostName) serverName).getAsciiName(); in getSniHostnameFromParams()