Searched refs:AddressUtils (Results 1 – 11 of 11) 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 assertTrue(AddressUtils.isValidSniHostname("LOCALhost")); in test_isValidSniHostname_Localhost_Success()38 assertFalse(AddressUtils.isValidSniHostname("192.168.0.1")); in test_isValidSniHostname_IPv4_Failure()42 assertFalse(AddressUtils.isValidSniHostname("2001:db8::1")); in test_isValidSniHostname_IPv6_Failure()46 assertFalse(AddressUtils.isValidSniHostname("www.google.com.")); in test_isValidSniHostname_TrailingDot()50 assertFalse(AddressUtils.isValidSniHostname("www\0.google.com")); in test_isValidSniHostname_NullByte()54 assertTrue(AddressUtils.isLiteralIpAddress("127.0.0.1")); in test_isLiteralIpAddress_IPv4_Success()55 assertTrue(AddressUtils.isLiteralIpAddress("255.255.255.255")); in test_isLiteralIpAddress_IPv4_Success()56 assertTrue(AddressUtils.isLiteralIpAddress("0.0.00.000")); in test_isLiteralIpAddress_IPv4_Success()[all …]
28 assertTrue(AddressUtils.isValidSniHostname("www.google.com")); in test_isValidSniHostname_Success()32 assertFalse(AddressUtils.isValidSniHostname("www")); in test_isValidSniHostname_NotFQDN_Failure()36 assertTrue(AddressUtils.isValidSniHostname("LOCALhost")); in test_isValidSniHostname_Localhost_Success()40 assertFalse(AddressUtils.isValidSniHostname("192.168.0.1")); in test_isValidSniHostname_IPv4_Failure()44 assertFalse(AddressUtils.isValidSniHostname("2001:db8::1")); in test_isValidSniHostname_IPv6_Failure()48 assertFalse(AddressUtils.isValidSniHostname("www.google.com.")); in test_isValidSniHostname_TrailingDot()52 assertFalse(AddressUtils.isValidSniHostname("www\0.google.com")); in test_isValidSniHostname_NullByte()56 assertTrue(AddressUtils.isLiteralIpAddress("127.0.0.1")); in test_isLiteralIpAddress_IPv4_Success()57 assertTrue(AddressUtils.isLiteralIpAddress("255.255.255.255")); in test_isLiteralIpAddress_IPv4_Success()58 assertTrue(AddressUtils.isLiteralIpAddress("0.0.00.000")); in test_isLiteralIpAddress_IPv4_Success()[all …]
24 final class AddressUtils { class33 private AddressUtils() {} in AddressUtils() method in AddressUtils56 Pattern ipPattern = AddressUtils.ipPattern; in isLiteralIpAddress()58 AddressUtils.ipPattern = ipPattern = Pattern.compile(IP_PATTERN); in isLiteralIpAddress()
349 if (parameters.getUseSni() && AddressUtils.isValidSniHostname(hostname)) { in initialize()379 if (!AddressUtils.isValidSniHostname(serverName)) { in verifyWithSniMatchers()
25 final class AddressUtils { class35 private AddressUtils() {} in AddressUtils() method in AddressUtils56 Pattern ipPattern = AddressUtils.ipPattern; in isLiteralIpAddress()58 AddressUtils.ipPattern = ipPattern = Pattern.compile(IP_PATTERN); in isLiteralIpAddress()
350 if (parameters.getUseSni() && AddressUtils.isValidSniHostname(hostname)) { in initialize()380 if (!AddressUtils.isValidSniHostname(serverName)) { in verifyWithSniMatchers()
59 if (impl.getUseSni() && AddressUtils.isValidSniHostname(socket.getHostname())) { in getSSLParameters()68 if (impl.getUseSni() && AddressUtils.isValidSniHostname(engine.getHostname())) { in getSSLParameters()
58 if (impl.getUseSni() && AddressUtils.isValidSniHostname(socket.getHostname())) { in getSSLParameters()67 if (impl.getUseSni() && AddressUtils.isValidSniHostname(engine.getHostname())) { in getSSLParameters()
157 if (impl.getUseSni() && AddressUtils.isValidSniHostname(socket.getHostname())) { in getSSLParameters()184 if (impl.getUseSni() && AddressUtils.isValidSniHostname(engine.getHostname())) { in getSSLParameters()
158 if (impl.getUseSni() && AddressUtils.isValidSniHostname(socket.getHostname())) { in getSSLParameters()185 if (impl.getUseSni() && AddressUtils.isValidSniHostname(engine.getHostname())) { in getSSLParameters()
331 if (impl.getUseSni() && AddressUtils.isValidSniHostname(socket.getHostname())) { in setParametersSniHostname()360 if (impl.getUseSni() && AddressUtils.isValidSniHostname(engine.getHostname())) { in setParametersSniHostname()