Home
last modified time | relevance | path

Searched refs:sniHostname (Results 1 – 2 of 2) sorted by relevance

/external/conscrypt/common/src/main/java/org/conscrypt/
DAddressUtils.java38 static boolean isValidSniHostname(String sniHostname) { in isValidSniHostname() argument
39 if (sniHostname == null) { in isValidSniHostname()
44 return sniHostname.indexOf('.') != -1 && !Platform.isLiteralIpAddress(sniHostname); in isValidSniHostname()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPlatform.java202 String sniHostname = getSniHostnameFromParams(params); in setSSLParameters() local
203 if (sniHostname != null) { in setSSLParameters()
204 socket.setHostname(sniHostname); in setSSLParameters()
220 String sniHostname = getSniHostnameFromParams(params); in setSSLParameters() local
221 if (sniHostname != null) { in setSSLParameters()
222 engine.setHostname(sniHostname); in setSSLParameters()