Home
last modified time | relevance | path

Searched refs:isValidSniHostname (Results 1 – 6 of 6) sorted by relevance

/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DAddressUtilsTest.java26 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()
/external/conscrypt/common/src/main/java/org/conscrypt/
DAddressUtils.java38 static boolean isValidSniHostname(String sniHostname) { in isValidSniHostname() method in AddressUtils
DSslWrapper.java359 if (parameters.getUseSni() && AddressUtils.isValidSniHostname(hostname)) { in initialize()
/external/conscrypt/platform/src/main/java/org/conscrypt/
DPlatform.java127 if (impl.getUseSni() && AddressUtils.isValidSniHostname(socket.getHostname())) { in getSSLParameters()
152 if (impl.getUseSni() && AddressUtils.isValidSniHostname(engine.getHostname())) { in getSSLParameters()
/external/conscrypt/openjdk/src/main/java/org/conscrypt/
DPlatform.java157 if (impl.getUseSni() && AddressUtils.isValidSniHostname(socket.getHostname())) { in getSSLParameters()
210 if (impl.getUseSni() && AddressUtils.isValidSniHostname(engine.getHostname())) { in getSSLParameters()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java280 if (impl.getUseSni() && AddressUtils.isValidSniHostname(socket.getHostname())) { in setParametersSniHostname()
307 if (impl.getUseSni() && AddressUtils.isValidSniHostname(engine.getHostname())) { in setParametersSniHostname()