Searched refs:sniHostname (Results 1 – 2 of 2) sorted by relevance
38 static boolean isValidSniHostname(String sniHostname) { in isValidSniHostname() argument39 if (sniHostname == null) { in isValidSniHostname()44 return sniHostname.indexOf('.') != -1 && !Platform.isLiteralIpAddress(sniHostname); in isValidSniHostname()
202 String sniHostname = getSniHostnameFromParams(params); in setSSLParameters() local203 if (sniHostname != null) { in setSSLParameters()204 socket.setHostname(sniHostname); in setSSLParameters()220 String sniHostname = getSniHostnameFromParams(params); in setSSLParameters() local221 if (sniHostname != null) { in setSSLParameters()222 engine.setHostname(sniHostname); in setSSLParameters()