/frameworks/base/core/java/android/net/http/ |
H A D | CertificateValidatorCache.java | 35 * to keep each secure domain name associated with a cryptographically secure 36 * hash of the certificate chain successfully used to validate the domain. If 37 * we establish connection with the domain more than once and each time receive 60 * The certificate validator cache map (domain to a cache entry) 130 * @param domain The domain to check against 133 * associated with the domain and the secure hash 135 public boolean has(String domain, byte[] secureHash) { argument 138 if (domain != null && domain 166 put(String domain, byte[] secureHash, long save) argument 210 CacheEntry(String domain, byte[] secureHash, long save) argument 232 has(String domain, byte[] secureHash) argument [all...] |
H A D | CertificateChainValidator.java | 75 * @param domain The website domain 79 HttpsConnection connection, SSLSocket sslSocket, String domain) 123 if (!DomainNameValidator.match(currCertificate, domain)) { 124 String errorMessage = "certificate not for this host: " + domain; 78 doHandshakeAndValidateServerCertificates( HttpsConnection connection, SSLSocket sslSocket, String domain) argument
|
/frameworks/base/common/java/com/android/common/ |
H A D | Rfc822Validator.java | 30 * and has the specified domain name added. It is meant for use with 44 * that constraint by accepting any kind of top level domain, not just 53 * Constructs a new validator that uses the specified domain name as 56 public Rfc822Validator(String domain) { argument 57 mDomain = domain; 73 * or the domain name part of the email address have been removed. 117 // If there is no @, just append the domain of the account 122 String domain = removeIllegalCharacters(text.substring(index + 1)); 123 tokens[i].setAddress(fix + "@" + (domain.length() != 0 ? domain [all...] |
/frameworks/base/common/tools/ |
H A D | make-iana-tld-pattern.py | 9 * http://data.iana.org/TLD/tlds-alpha-by-domain.txt 20 * http://data.iana.org/TLD/tlds-alpha-by-domain.txt 131 f = urlopen('http://data.iana.org/TLD/tlds-alpha-by-domain.txt') 137 for domain in domains: 138 domain = domain.lower() variable 140 if len(domain) > 0: 141 getBucket(buckets, domain[0]).add(domain.strip())
|
/frameworks/base/core/java/android/webkit/ |
H A D | CookieSyncManager.java | 103 * matches a given base domain. 104 * @param domain 107 ArrayList<Cookie> getCookiesForDomain(String domain) { argument 114 return mDataBase.getCookiesForDomain(domain); 201 mDataBase.deleteCookies(cookie.domain, cookie.path,
|
H A D | CookieManager.java | 44 private static final String DOMAIN = "domain"; 81 // RFC2109 defines 20 as max cookie count per domain. As we track with base 82 // domain, we allow 50 per base domain 86 // domain, we set 200 as max base domain count 93 // max domain count to limit RAM cookie takes less than 100k, 125 String domain; field in class:CookieManager.Cookie 147 domain = defaultDomain; 153 // An exact match means that domain, pat [all...] |
H A D | WebViewDatabase.java | 57 // 3 -> 4 Add crossdomain (For x-permitted-cross-domain-policies header) 97 private static final String COOKIES_DOMAIN_COL = "domain"; 419 * a given domain 423 ArrayList<Cookie> getCookiesForDomain(String domain) { argument 425 if (domain == null || mDatabase == null) { 440 columns, selection, new String[] { domain }, null, null, 451 cookie.domain = cursor.getString(domainCol); 475 * Delete cookies which matches (domain, path, name). 477 * @param domain If it is null, nothing happens. 478 * @param path If it is null, all the cookies match (domain) wil 483 deleteCookies(String domain, String path, String name) argument [all...] |
/frameworks/base/core/java/com/android/internal/net/ |
H A D | DomainNameValidator.java | 52 * Checks the site certificate against the domain name of the site being visited 54 * @param thisDomain The domain name of the site being visited 55 * @return True iff if there is a domain match as specified by RFC2818 71 * @return True iff the domain name is specified as an IP address 73 private static boolean isIpAddress(String domain) { argument 74 boolean rval = (domain != null && domain.length() != 0); 78 rval = QUICK_IP_PATTERN.matcher(domain).matches(); 80 rval = domain.equals( 81 InetAddress.getByName(domain) [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
H A D | DomainNameValidatorTest.java | 228 private void checkWithActualCert(String message, int resId, String domain, argument 234 checkMatch(message, certificate, domain, expected);
|