Searched refs:isValidSniHostname (Results 1 – 6 of 6) sorted by relevance
26 assertTrue(AddressUtils.isValidSniHostname("www.google.com")); in test_isValidSniHostname_Success()30 assertFalse(AddressUtils.isValidSniHostname("www")); in test_isValidSniHostname_NotFQDN_Failure()34 assertFalse(AddressUtils.isValidSniHostname("192.168.0.1")); in test_isValidSniHostname_IPv4_Failure()38 assertFalse(AddressUtils.isValidSniHostname("2001:db8::1")); in test_isValidSniHostname_IPv6_Failure()
38 static boolean isValidSniHostname(String sniHostname) { in isValidSniHostname() method in AddressUtils
359 if (parameters.getUseSni() && AddressUtils.isValidSniHostname(hostname)) { in initialize()
127 if (impl.getUseSni() && AddressUtils.isValidSniHostname(socket.getHostname())) { in getSSLParameters()152 if (impl.getUseSni() && AddressUtils.isValidSniHostname(engine.getHostname())) { in getSSLParameters()
157 if (impl.getUseSni() && AddressUtils.isValidSniHostname(socket.getHostname())) { in getSSLParameters()210 if (impl.getUseSni() && AddressUtils.isValidSniHostname(engine.getHostname())) { in getSSLParameters()
280 if (impl.getUseSni() && AddressUtils.isValidSniHostname(socket.getHostname())) { in setParametersSniHostname()307 if (impl.getUseSni() && AddressUtils.isValidSniHostname(engine.getHostname())) { in setParametersSniHostname()