HomeSort by relevance Sort by last modified time
    Searched refs:hostName (Results 1 - 25 of 71) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/platform/network/
ProxyServer.h 53 ProxyServer(Type type, const String& hostName, int port)
55 , m_hostName(hostName)
61 const String& hostName() const { return m_hostName; }
ProxyServer.cpp 50 ASSERT(!proxyServer.hostName().isNull());
51 builder.append(proxyServer.hostName());
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
OkHostnameVerifier.java 93 * Returns true if {@code certificate} matches {@code hostName}.
95 private boolean verifyHostName(String hostName, X509Certificate certificate) {
96 hostName = hostName.toLowerCase(Locale.US);
100 if (verifyHostName(hostName, altName)) {
110 return verifyHostName(hostName, cn);
147 * Returns true if {@code hostName} matches the name or pattern {@code cn}.
149 * @param hostName lowercase host name.
153 public boolean verifyHostName(String hostName, String cn) {
155 if (hostName == null || hostName.length() == 0 || cn == null || cn.length() == 0)
    [all...]
  /libcore/luni/src/main/java/javax/net/ssl/
DefaultHostnameVerifier.java 69 * Returns true if {@code certificate} matches {@code hostName}.
71 private boolean verifyHostName(String hostName, X509Certificate certificate) {
72 hostName = hostName.toLowerCase(Locale.US);
76 if (verifyHostName(hostName, altName)) {
86 return verifyHostName(hostName, cn);
123 * Returns true if {@code hostName} matches the name or pattern {@code cn}.
125 * @param hostName lowercase host name.
129 public boolean verifyHostName(String hostName, String cn) {
130 if (hostName == null || hostName.isEmpty() || cn == null || cn.isEmpty())
    [all...]
  /libcore/luni/src/main/java/java/net/
InetAddress.java 50 * <p>An {@code InetAddress} may have a hostname (accessible via {@code getHostName}), but may not,
136 String hostName;
149 InetAddress(int family, byte[] ipaddress, String hostName) {
152 this.hostName = hostName;
188 * @param hostName the hostname corresponding to the IP address.
191 private static InetAddress[] bytesToInetAddresses(byte[][] rawAddresses, String hostName)
196 returnedAddresses[i] = makeInetAddress(rawAddresses[i], hostName);
209 * @param host the hostname or literal IP string to be resolved
440 String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD); local
    [all...]
Inet4Address.java 51 Inet4Address(byte[] ipaddress, String hostName) {
52 super(AF_INET, ipaddress, hostName);
129 return new Inet4Address(ipaddress, hostName);
Inet6Address.java 65 Inet6Address(byte[] ipaddress, String hostName, int scope_id) {
66 super(AF_INET6, ipaddress, hostName);
104 * the hostname associated with the address.
  /libcore/crypto/src/main/java/org/conscrypt/
CertPinManager.java 65 * Given a hostname and a certificate chain this verifies that the chain includes
71 public boolean chainIsNotPinned(String hostname, List<X509Certificate> chain)
74 PinListEntry entry = lookup(hostname);
125 private synchronized PinListEntry lookup(String hostname) throws PinManagerException {
137 // if so, check the hostname cache
138 String cn = hostnameCache.get(hostname);
145 cn = getMatchingCN(hostname);
147 hostnameCache.put(hostname, cn);
152 // if we got here, we don't have a matching CN for this hostname
160 private String getMatchingCN(String hostname) {
    [all...]
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/
SslContextBuilder.java 40 * self-signed certificate for a single hostname such as "localhost".
51 private final String hostName;
56 * @param hostName the subject of the host. For TLS this should be the
59 public SslContextBuilder(String hostName) {
60 this.hostName = hostName;
96 * Generates a certificate for {@code hostName} containing {@code keyPair}'s
102 X500Principal issuer = new X500Principal("CN=" + hostName);
103 X500Principal subject = new X500Principal("CN=" + hostName);
  /external/chromium_org/remoting/webapp/
host_controller.js 129 * @param {string} hostName
133 function onStarted(hostName, publicKey, result) {
135 remoting.hostList.onLocalHostStarted(hostName, newHostId, publicKey);
145 * @param {string} hostName
151 function startHostWithHash(hostName, publicKey, privateKey, xhr,
157 host_name: hostName,
162 onStarted.bind(null, hostName, publicKey),
167 * @param {string} hostName
172 function onRegistered(hostName, publicKey, privateKey, xhr) {
177 startHostWithHash.bind(null, hostName, publicKey, privateKey, xhr)
    [all...]
host_list.js 243 if (host.hostName && host.hostId && host.status && host.publicKey &&
302 this.hosts_[i].hostName = hostTableEntry.host.hostName;
317 hostName: hostTableEntry.host.hostName,
361 this.localHost_.hostName);
421 * @param {string} hostName Host name.
427 hostName, hostId, publicKey) {
435 localHost.hostName = hostName;
    [all...]
host_table_entry.js 185 /*i18n-content*/'TOOLTIP_CONNECT', this.host.hostName);
215 editBox.value = this.host.hostName;
228 * Accept the hostname entered by the user.
235 if (this.host.hostName != editBox.value) {
236 this.host.hostName = editBox.value;
250 l10n.localizeElement(message, this.host.hostName);
313 * Create the DOM nodes and event handlers for the hostname cell.
322 /*i18n-content*/'UPDATE_REQUIRED', this.host.hostName);
324 hostNameNode.innerText = this.host.hostName;
340 this.host.hostName);
    [all...]
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
SpdyConnection.java 94 private final String hostName;
115 hostName = builder.hostName;
117 new Thread(new Reader(), "Spdy Reader " + hostName).start();
203 executor.submit(new NamedRunnable("OkHttp SPDY Writer %s stream %d", hostName, streamId) {
218 executor.submit(new NamedRunnable("OkHttp SPDY Writer %s stream %d", hostName, streamId) {
253 executor.submit(new NamedRunnable("OkHttp SPDY Writer %s ping %d", hostName, streamId) {
372 private String hostName;
390 public Builder(String hostName, boolean client, Socket socket) throws IOException {
391 this(hostName, client, socket.getInputStream(), socket.getOutputStream())
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
InetAddressThreadTest.java 86 String hostName = ia.getHostName();
91 // may not include a domain suffix on the hostname
92 if (!hostName.startsWith(correctName)) {
97 + hostName
  /external/nist-sip/java/gov/nist/core/
Host.java 43 * Stores hostname.
68 protected static final int HOSTNAME = 1;
72 /** hostName field
74 protected String hostname; field in class:Host
86 addressType = HOSTNAME;
94 public Host(String hostName) throws IllegalArgumentException {
95 if (hostName == null)
101 setHost(hostName, IPV4ADDRESS);
124 if (addressType == IPV6ADDRESS && !isIPv6Reference(hostname)) {
125 buffer.append('[').append(hostname).append(']')
    [all...]
  /external/smack/src/com/kenai/jbosh/
BOSHClientConfig.java 230 * Specify the hostname and port of an HTTP proxy to connect through.
232 * @param hostName proxy hostname
236 public Builder setProxy(final String hostName, final int port) {
237 if (hostName == null || hostName.length() == 0) {
245 bProxyHost = hostName;
  /external/nist-sip/java/gov/nist/javax/sip/stack/
HopImpl.java 70 * @param hostName hostname
74 public HopImpl(String hostName, int portNumber, String trans) {
75 host = hostName;
  /external/chromium_org/chrome/common/extensions/docs/examples/api/nativeMessaging/app/
main.js 49 var hostName = "com.google.chrome.example.echo";
50 appendMessage("Connecting to native messaging host <b>" + hostName + "</b>")
51 port = chrome.extension.connectNative(hostName);
  /external/apache-http/src/org/apache/http/conn/ssl/
AbstractVerifier.java 147 // establish the socket to the hostname in the certificate.
148 String hostName = host.trim().toLowerCase(Locale.ENGLISH);
171 match = hostName.endsWith(cn.substring(1));
175 match = countDots(hostName) == countDots(cn);
178 match = hostName.equals(cn);
185 throw new SSLException("hostname in certificate didn't match: <" + host + "> !=" + buf);
  /external/apache-http/src/org/apache/http/client/protocol/
RequestAddCookies.java 134 String hostName = targetHost.getHostName();
141 hostName,
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
SSLClientCertificateRequest.java 135 int nativePtr, String[] keyTypes, byte[][] encodedPrincipals, String hostName,
165 activity, request, keyTypes, principals, hostName, port, null);
  /libcore/luni/src/main/java/libcore/net/url/
FtpURLConnection.java 93 private String hostName;
108 hostName = url.getHost();
219 InetSocketAddress addr = new InetSocketAddress(hostName, port);
321 return new SocketPermission(hostName + ":" + port, "connect, resolve");
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TestResults.java 127 String hostName = "";
129 hostName = InetAddress.getLocalHost().getHostName();
131 serializer.attribute(ns, "name", hostName);
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/mockspdyserver/
MockSpdyServer.java 97 String hostName = getHostName();
98 return hostName.contains(".") ? hostName : ".local";
  /external/chromium_org/third_party/WebKit/Source/modules/websockets/
WebSocketHandshake.cpp 79 static String hostName(const KURL& url, bool secure)
177 builder.append(hostName(m_url, m_secure));
194 fields.append("Host: " + hostName(m_url, m_secure));
246 request->addHeaderField("Host", hostName(m_url, m_secure));

Completed in 1961 milliseconds

1 2 3