/packages/apps/Email/src/com/android/email/mail/transport/ |
MailTransport.java | 176 // After the socket connects to an SSL server, confirm that the hostname is as expected 199 * NOTE: No explicit hostname verification is required here, because it's handled automatically 231 * Verify the hostname of the certificate used by the other end of a 232 * connected socket. You MUST call this if you did not supply a hostname 234 * redundantly if the hostname has already been verified. 236 * <p>Wildcard certificates are allowed to verify any matching hostname, 241 * @param hostname The expected hostname of the remote server 245 private void verifyHostname(Socket socket, String hostname) throws IOException { 259 if (!HOSTNAME_VERIFIER.verify(hostname, session)) [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/transport/ |
KexManager.java | 67 final String hostname; field in class:KexManager 71 public KexManager(TransportManager tm, ClientServerHello csh, CryptoWishList initialCwl, String hostname, int port, 78 this.hostname = hostname; 547 vres = verifier.verifyServerHostKey(hostname, port, kxs.np.server_host_key_algo, kxs.hostkey); 603 vres = verifier.verifyServerHostKey(hostname, port, kxs.np.server_host_key_algo, kxs.hostkey);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLSocketImpl.java | 78 private String hostname; field in class:OpenSSLSocketImpl 198 String hostName = getPeerHostName(); 200 if (hostName == null) { 203 OpenSSLSessionImpl session = (OpenSSLSessionImpl) sessionContext.getSession(hostName, port); 312 if (hostname != null) { 313 NativeCrypto.SSL_set_tlsext_host_name(sslNativePointer, hostname); 805 * @param hostname the desired SNI hostname, or null to disable 807 public void setHostname(String hostname) { 808 this.hostname = hostname [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/fx/ |
bg.js | 6 // Map of hostname suffixes or URLs without query params to sounds. 302 var hostname = match[1]; 303 if (hostname) { 304 var parts = hostname.split(".");
|
/frameworks/base/core/java/android/net/ |
SSLCertificateSocketFactory.java | 48 * <li>Hostname verification in most cases (see WARNINGs below) 60 * This implementation does check the server's certificate hostname, but only 61 * for createSocket variants that specify a hostname. When using methods that 67 * {@link HostnameVerifier} to verify the certificate hostname. 70 * SSL certificate and hostname checks for testing purposes. This setting 164 * Verify the hostname of the certificate used by the other end of a 165 * connected socket. You MUST call this if you did not supply a hostname 167 * redundantly if the hostname has already been verified. 169 * <p>Wildcard certificates are allowed to verify any matching hostname, 174 * @param hostname The expected hostname of the remote serve [all...] |
/external/chromium/chrome/browser/remoting/ |
directory_add_request.cc | 39 data.SetString("hostName", host_info.hostname);
|
/external/chromium/net/base/ |
host_resolver.h | 38 // The parameters for doing a Resolve(). A hostname and port are required, 50 const std::string& hostname() const { return host_port_pair_.host(); } function in class:net::HostResolver::RequestInfo 80 // The hostname to resolve, and the port to use in resulting sockaddrs. 140 // Resolves the given hostname (or IP address literal), filling out the 197 // This class represents the task of resolving a hostname (or IP address 199 // single hostname at a time and cancels this request when going out of scope. 210 // Resolves the given hostname (or IP address literal), filling out the
|
address_list_unittest.cc | 21 int CreateAddressList(const std::string& hostname, int port, 26 int rv = SystemHostResolverProc(hostname,
|
/external/chromium/net/socket/ |
socks5_client_socket.cc | 262 // Since we only have 1 byte to send the hostname length in, if the 263 // URL has a hostname longer than 255 characters we can't send it. 264 if (0xFF < host_request_info_.hostname().size()) { 353 DCHECK_GE(static_cast<size_t>(0xFF), host_request_info_.hostname().size()); 355 // First add the size of the hostname, followed by the hostname. 357 host_request_info_.hostname().size())); 358 handshake->append(host_request_info_.hostname());
|
ssl_host_info.cc | 27 const std::string& hostname, 32 hostname_(hostname),
|
/external/chromium/third_party/libevent/ |
evdns.h | 94 * evdns_resolve("www.hostname.com", 0, callback, NULL); 314 @param name a DNS hostname 327 @param name a DNS hostname 516 int evdns_server_request_add_ptr_reply(struct evdns_server_request *req, struct in_addr *in, const char *inaddr_name, const char *hostname, int ttl);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
sslsocketfactory.cc | 58 if (remote_.IsAnyIP() && remote_.hostname().empty()) {
|
/external/libxml2/ |
nanoftp.c | 124 char *hostname; /* the host name */ member in struct:xmlNanoFTPCtxt 184 * and get the hostname 312 if (ctxt->hostname != NULL) { 313 xmlFree(ctxt->hostname); 314 ctxt->hostname = NULL; 332 ctxt->hostname = xmlMemStrdup(uri->server); 362 * protocol, hostname, port or other information, the 380 if (ctxt->hostname == NULL) 392 (strcmp(ctxt->hostname, uri->server)) || 511 if (ctxt->hostname != NULL) xmlFree(ctxt->hostname) [all...] |
/external/mdnsresponder/mDNSShared/ |
dns_sd.h | 347 * wire. If "hostname" is a wide-area unicast DNS hostname (i.e. not a ".local." name) 349 * for "hostname", since any addresses it found would be unlikely to be of any use anyway. Similarly, 351 * "hostname". [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
CookieJar.mm | 241 void deleteCookiesForHostname(const String& hostname) 251 if (hostname == String([cookie domain]))
|
/external/webkit/Source/WebCore/platform/qt/ |
CookieJarQt.cpp | 141 void deleteCookiesForHostname(const String& hostname)
|
/external/dhcpcd/ |
if-options.c | 66 {"hostname", optional_argument, NULL, 'h'}, 362 s = parse_string(ifo->hostname, 365 syslog(LOG_ERR, "hostname: %m"); 368 if (s != 0 && ifo->hostname[0] == '.') { 370 "hostname cannot begin with ."); 373 ifo->hostname[s] = '\0'; 375 if (ifo->hostname[0] == '\0') 804 gethostname(ifo->hostname, HOSTNAME_MAX_LEN); 805 /* Ensure that the hostname is NULL terminated */ 806 ifo->hostname[HOSTNAME_MAX_LEN] = '\0' [all...] |
/external/mdnsresponder/mDNSPosix/ |
nss_mdns.c | 496 char hostname [k_hostname_maxlen + 1]; member in struct:buf_header 832 Lookup a fully qualified hostname using the default record type 837 Fully qualified hostname. If not fully qualified the code will 1216 // Data should be a hostname 1418 Add fully qualified hostname to result. 1424 Fully qualified hostname 1427 Pointer to start of hostname buffer, 1428 or NULL on error (usually hostname too long) 1438 "mdns: Hostname too long '%.*s': len %d, max %d", 1448 strcpy (result->header->hostname, fullname) 1476 char * hostname = result->hostent->h_name; local [all...] |
/external/chromium/chrome/browser/sync/util/ |
cryptographer.cc | 13 // We name a particular Nigori instance (ie. a triplet consisting of a hostname, 112 if (!nigori->InitByDerivation(params.hostname, 151 if (!nigori.InitByDerivation(params.hostname,
|
nigori.cc | 72 bool Nigori::InitByDerivation(const std::string& hostname, 76 salt_password << username << hostname; local
|
/external/ppp/pppd/ |
options.c | 214 "Add given domain name to hostname", [all...] |
/external/qemu/telephony/ |
sysdeps_qemu.c | 362 sys_channel_create_tcp_client( const char* hostname, int port ) 366 channel->fd = socket_network_client( hostname, port, SOCKET_STREAM );
|
/external/quake/quake/src/WinQuake/ |
net_mp.cpp | 31 extern cvar_t hostname;
79 // if the quake hostname isn't set, set it to the machine name
80 if (Q_strcmp(hostname.string, "UNNAMED") == 0)
95 Cvar_Set ("hostname", buff);
|
/external/webkit/LayoutTests/fast/url/resources/ |
utilities.js | 38 elmt.hostname,
|
/external/webkit/LayoutTests/fast/url/script-tests/ |
ipv4.js | 81 // If a long component is non-numeric, it's a hostname, *not* a broken IP.
|