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

1 2 3 4 5

  /external/chromium_org/third_party/WebKit/Source/platform/network/
ProxyServer.h 54 ProxyServer(Type type, const String& hostName, int port)
56 , m_hostName(hostName)
62 const String& hostName() const { return m_hostName; }
ProxyServer.cpp 50 ASSERT(!proxyServer.hostName().isNull());
51 builder.append(proxyServer.hostName());
  /external/okhttp/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 48 * <p>An {@code InetAddress} may have a hostname (accessible via {@code getHostName}), but may not,
137 String hostName;
150 InetAddress(int family, byte[] ipaddress, String hostName) {
153 this.hostName = hostName;
189 * @param hostName the hostname corresponding to the IP address.
192 private static InetAddress[] bytesToInetAddresses(byte[][] rawAddresses, String hostName)
197 returnedAddresses[i] = makeInetAddress(rawAddresses[i], hostName);
210 * @param host the hostname or literal IP string to be resolved
473 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);
  /external/conscrypt/src/platform/java/org/conscrypt/
CertPinManager.java 61 * Given a {@code hostname} and a {@code chain} this verifies that the
63 * {@code hostname} is on the list of sites that should be pinned.
69 public boolean isChainValid(String hostname, List<X509Certificate> chain)
72 final PinListEntry entry = lookup(hostname);
74 // There was no entry in the pin list for this hostname.
134 private synchronized PinListEntry lookup(String hostname) throws PinManagerException {
140 // if so, check the hostname cache
141 String cn = hostnameCache.get(hostname);
148 cn = getMatchingCN(hostname);
150 hostnameCache.put(hostname, cn)
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
PKCS11AuthenticationManager.java 27 * @param hostName The host for which to retrieve client certificate.
30 public String getClientCertificateAlias(String hostName, int port);
SSLClientCertificateRequest.java 154 CertAsyncTaskPKCS11(long nativePtr, String hostName, int port,
157 mHostName = hostName;
221 * @param hostName The server host name is available (empty otherwise).
228 final String[] keyTypes, byte[][] encodedPrincipals, final String hostName,
262 hostName, port, null);
275 new CertAsyncTaskPKCS11(nativePtr, hostName, port,
  /packages/apps/Email/src/com/android/email/activity/setup/
SecurityRequiredDialogFragment.java 43 private final static String ARGS_HOST_NAME = "SecurityRequiredDialog.HostName";
57 public static SecurityRequiredDialogFragment newInstance(String hostName) {
60 arguments.putString(ARGS_HOST_NAME, hostName);
69 final String hostName = arguments.getString(ARGS_HOST_NAME);
77 R.string.account_setup_security_policies_required_fmt, hostName))
AccountCheckSettingsFragment.java 100 * @param hostName Passed back from the MessagingException
102 void onCheckSettingsSecurityRequired(String hostName);
233 String hostName = ex.getMessage();
234 if (hostName != null) {
235 hostName = hostName.trim();
237 getCallbackTarget().onCheckSettingsSecurityRequired(hostName);
  /external/chromium_org/remoting/webapp/
host_controller.js 153 * @param {string} hostName
157 function onStarted(hostName, publicKey, result) {
159 remoting.hostList.onLocalHostStarted(hostName, newHostId, publicKey);
169 * @param {string} hostName
177 function startHostWithHash(hostName, publicKey, privateKey, xmppLogin,
183 host_name: hostName,
196 hostConfig, consent, onStarted.bind(null, hostName, publicKey),
201 * @param {string} hostName
209 hostName, publicKey, privateKey, email, refreshToken, clientBaseJid) {
212 startHostWithHash.bind(null, hostName, publicKey, privateKey
    [all...]
host_list.js 147 * @param {string} hostName The name of the host.
150 remoting.HostList.prototype.getHostIdForName = function(hostName) {
152 if (this.hosts_[i].hostName == hostName) {
215 } else if (a.hostName.toLocaleLowerCase() <
216 b.hostName.toLocaleLowerCase()) {
218 } else if (a.hostName.toLocaleLowerCase() >
219 b.hostName.toLocaleLowerCase()) {
285 if (host.hostName && host.hostId && host.status && host.publicKey &&
347 this.hosts_[i].hostName = hostTableEntry.host.hostName
    [all...]
  /external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
SslContextBuilder.java 42 * self-signed certificate for a single hostname such as "localhost".
55 private final String hostName;
60 * @param hostName the subject of the host. For TLS this should be the
63 public SslContextBuilder(String hostName) {
64 this.hostName = hostName;
114 * Generates a certificate for {@code hostName} containing {@code keyPair}'s
120 X500Principal issuer = new X500Principal("CN=" + hostName);
121 X500Principal subject = new X500Principal("CN=" + hostName);
  /external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/
ChromeShellPKCS11AuthenticationManager.java 24 public String getClientCertificateAlias(String hostName, int port) {
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
SocketTransportWrapper.java 60 String hostName = null;
69 hostName = address.substring(0, i);
79 if (hostName != null) {
80 hostAddr = InetAddress.getByName(hostName);
88 if (hostName != null) {
140 String hostName = null;
148 hostName = address.substring(0, i);
164 transportSocket = new Socket(hostName, port);
  /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...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/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/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
SpdyConnection.java 83 private final String hostName;
142 hostName = builder.hostName;
327 executor.submit(new NamedRunnable("OkHttp %s stream %d", hostName, streamId) {
342 executor.submit(new NamedRunnable("OkHttp Window Update %s stream %d", hostName, streamId) {
375 hostName, payload1, payload2) {
494 private String hostName;
510 public Builder(String hostName, boolean client, Socket socket) throws IOException {
511 this.hostName = hostName;
    [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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
HttpOverHttp20Draft09Test.java 49 assertContains(request.getHeaders(), hostHeader + ": " + hostName + ":" + server.getPort());
71 assertContains(request.getHeaders(), hostHeader + ": " + hostName + ":" + server.getPort());
  /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.runtime.connectNative(hostName);
  /external/apache-http/src/org/apache/http/conn/ssl/
AbstractVerifier.java 152 // establish the socket to the hostname in the certificate.
153 String hostName = host.trim().toLowerCase(Locale.ENGLISH);
176 match = hostName.endsWith(cn.substring(1));
180 match = countDots(hostName) == countDots(cn);
183 match = hostName.equals(cn);
190 throw new SSLException("hostname in certificate didn't match: <" + host + "> !=" + buf);
  /external/apache-http/src/org/apache/http/client/protocol/
RequestAddCookies.java 139 String hostName = targetHost.getHostName();
146 hostName,

Completed in 2963 milliseconds

1 2 3 4 5