Searched refs:credentials (Results 1 - 25 of 220) sorted by relevance

123456789

/external/chromium_org/components/os_crypt/
H A Die7_password_win_unittest.cc48 std::vector<ie7_password::DecryptedCredentials> credentials; local
49 ASSERT_TRUE(ie7_password::GetUserPassFromData(decrypted_data1, &credentials));
50 ASSERT_EQ(1u, credentials.size());
51 EXPECT_EQ(L"abcdefgh", credentials[0].username);
52 EXPECT_EQ(L"abcdefghijkl", credentials[0].password);
54 credentials.clear();
55 ASSERT_TRUE(ie7_password::GetUserPassFromData(decrypted_data2, &credentials));
56 ASSERT_EQ(1u, credentials.size());
57 EXPECT_EQ(L"abcdefghi", credentials[0].username);
58 EXPECT_EQ(L"abcdefg", credentials[
81 std::vector<ie7_password::DecryptedCredentials> credentials; local
[all...]
H A Die7_password_win.h38 // Credentials extracted from |data| end up in |credentials|.
40 std::vector<DecryptedCredentials>* credentials);
44 // Output ends up in |credentials|.
47 std::vector<DecryptedCredentials>* credentials);
/external/chromium_org/chrome/browser/extensions/api/networking_private/
H A Dcrypto_verify_impl.cc14 bool VerifyCredentials(const CryptoVerifyImpl::Credentials& credentials) { argument
15 return networking_private_crypto::VerifyCredentials(credentials.certificate,
16 credentials.signed_data,
17 credentials.unsigned_data,
18 credentials.device_bssid);
37 void CryptoVerifyImpl::VerifyDestination(const Credentials& credentials, argument
40 *verified = VerifyCredentials(credentials);
45 const Credentials& credentials,
47 if (!VerifyCredentials(credentials)) {
55 // Start getting credentials
43 VerifyAndEncryptCredentials( const std::string& network_guid, const Credentials& credentials, const VerifyAndEncryptCredentialsCallback& callback) argument
61 VerifyAndEncryptData( const Credentials& credentials, const std::string& data, std::string* base64_encoded_ciphertext, std::string* error) argument
[all...]
H A Dcrypto_verify_impl.h21 virtual void VerifyDestination(const Credentials& credentials,
26 const Credentials& credentials,
28 virtual void VerifyAndEncryptData(const Credentials& credentials,
/external/chromium_org/content/browser/android/
H A Ddevtools_auth.cc16 const net::UnixDomainServerSocket::Credentials& credentials) {
17 struct passwd* creds = getpwuid(credentials.user_id);
20 << credentials.user_id;
23 if (credentials.group_id == credentials.user_id &&
28 credentials.user_id == getuid())) {
15 CanUserConnectToDevTools( const net::UnixDomainServerSocket::Credentials& credentials) argument
/external/chromium_org/content/public/browser/android/
H A Ddevtools_auth.h13 // Returns true if the given peer identified by the credentials is authorized
16 const net::UnixDomainServerSocket::Credentials& credentials);
/external/apache-http/src/org/apache/http/auth/
H A DAuthState.java56 private Credentials credentials; field in class:AuthState
72 this.credentials = null;
105 * @return user credentials if available, <code>null</code otherwise
108 return this.credentials;
115 * @param credentials User credentials
117 public void setCredentials(final Credentials credentials) { argument
118 this.credentials = credentials;
146 buffer.append("]; credentials se
[all...]
H A DAuthScheme.java51 * <li>Generate authorization string for the given set of credentials,
135 * @param credentials The set of credentials to be used for athentication
142 Header authenticate(Credentials credentials, HttpRequest request) argument
/external/chromium_org/net/ftp/
H A Dftp_auth_cache.cc16 const AuthCredentials& credentials)
18 credentials(credentials) {
35 void FtpAuthCache::Add(const GURL& origin, const AuthCredentials& credentials) { argument
41 entry->credentials = credentials;
43 entries_.push_front(Entry(origin, credentials));
52 const AuthCredentials& credentials) {
54 if (it->origin == origin && it->credentials.Equals(credentials)) {
15 Entry(const GURL& origin, const AuthCredentials& credentials) argument
51 Remove(const GURL& origin, const AuthCredentials& credentials) argument
[all...]
H A Dftp_auth_cache.h30 Entry(const GURL& origin, const AuthCredentials& credentials);
34 AuthCredentials credentials; member in struct:net::FtpAuthCache::Entry
43 // Add an entry for |origin| to the cache using |credentials|. If there is
45 void Add(const GURL& origin, const AuthCredentials& credentials);
48 // |credentials|.
49 void Remove(const GURL& origin, const AuthCredentials& credentials);
/external/apache-http/src/org/apache/http/impl/auth/
H A DBasicScheme.java126 * @param credentials The set of credentials to be used for athentication
128 * @throws org.apache.http.auth.InvalidCredentialsException if authentication credentials
136 final Credentials credentials,
139 if (credentials == null) {
147 return authenticate(credentials, charset, isProxy());
154 * @param credentials The credentials to encode.
155 * @param charset The charset to use for encoding the credentials
160 final Credentials credentials,
135 authenticate( final Credentials credentials, final HttpRequest request) argument
159 authenticate( final Credentials credentials, final String charset, boolean proxy) argument
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/backends/
H A Dform_based_credentials_backend_unittest_base.py21 'tools', 'perf', 'data', 'credentials.json')
40 b.credentials.credentials_path = credentials_path
41 if not b.credentials.CanLogin(self._credentials_type):
43 ret = b.credentials.LoginNeeded(b.tabs[0], self._credentials_type)
57 b.credentials.credentials_path = credentials_path
59 if not b.credentials.CanLogin(self._credentials_type):
64 # Should not be logged in, since this is a fresh credentials
66 self.assertFalse(b.credentials.IsLoggedIn(self._credentials_type))
69 ret = b.credentials.LoginNeeded(tab, self._credentials_type)
73 self.assertTrue(b.credentials
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/credentialmanager/
H A DNavigatorCredentials.cpp38 CredentialsContainer* NavigatorCredentials::credentials(Navigator& navigator) function in class:blink::NavigatorCredentials
40 return NavigatorCredentials::from(navigator).credentials();
43 CredentialsContainer* NavigatorCredentials::credentials() function in class:blink::NavigatorCredentials
H A DNavigatorCredentials.h26 static CredentialsContainer* credentials(Navigator&);
32 CredentialsContainer* credentials();
/external/apache-http/src/org/apache/http/client/
H A DCredentialsProvider.java37 * Abstract credentials provider.
51 * Sets the {@link Credentials credentials} for the given authentication
52 * scope. Any previous credentials for the given scope will be overwritten.
55 * @param credentials the authentication {@link Credentials credentials}
60 void setCredentials(AuthScope authscope, Credentials credentials); argument
63 * Get the {@link Credentials credentials} for the given authentication scope.
66 * @return the credentials
73 * Clears all credentials.
/external/chromium_org/tools/perf/page_sets/
H A Dtop_10.py9 def __init__(self, url, page_set, credentials='', name=''):
11 self.credentials = credentials
34 credentials='google')
48 credentials='google')
67 credentials='google')
79 credentials='facebook',
93 credentials_path='data/credentials.json',
H A Dkey_desktop_sites.py12 self.credentials_path = 'data/credentials.json'
29 self.credentials = 'facebook'
45 self.credentials = 'google'
68 self.credentials = 'google'
82 self.credentials = 'google'
105 self.credentials = 'google'
122 credentials_path='data/credentials.json',
/external/chromium_org/components/password_manager/core/browser/
H A Dpassword_form_manager_unittest.cc230 // User submits credentials for the observed form.
231 PasswordForm credentials = *observed_form(); local
232 credentials.username_value = saved_match()->username_value;
233 credentials.password_value = saved_match()->password_value;
234 credentials.preferred = true;
236 credentials, PasswordFormManager::IGNORE_OTHER_POSSIBLE_USERNAMES);
241 // Make sure the credentials that would be submitted on successful login
263 credentials.username_value = new_user;
264 credentials.password_value = new_pass;
266 credentials, PasswordFormManage
358 PasswordForm credentials = *observed_form(); local
595 PasswordForm credentials = *observed_form(); local
650 PasswordForm credentials = *observed_form(); local
[all...]
/external/chromium_org/net/socket/
H A Dunix_domain_server_socket_posix.cc47 Credentials* credentials) {
53 credentials->process_id = user_cred.pid;
54 credentials->user_id = user_cred.uid;
55 credentials->group_id = user_cred.gid;
59 socket, &credentials->user_id, &credentials->group_id) == 0;
175 Credentials credentials; local
176 if (!GetPeerCredentials(accept_socket_->socket_fd(), &credentials) ||
177 !auth_callback_.Run(credentials)) {
46 GetPeerCredentials(SocketDescriptor socket, Credentials* credentials) argument
/external/chromium_org/chromeos/login/auth/
H A Dtest_attempt_state.cc12 TestAttemptState::TestAttemptState(const UserContext& credentials, argument
14 : AuthAttemptState(credentials,
/external/chromium_org/tools/telemetry/telemetry/core/
H A Dbrowser_credentials.py44 'Unrecognized credentials type: %s', credentials_type)
52 'Unrecognized credentials type: %s', credentials_type)
58 'Unrecognized credentials type: %s', credentials_type)
94 credentials = {}
99 credentials = json.loads(f.read())
102 homedir_credentials_path = os.path.expanduser('~/.telemetry-credentials')
107 logging.info("Found ~/.telemetry-credentials. Its contents will be used "
108 "when no other credentials can be found.")
113 all_keys = set(credentials.keys()).union(
118 if k in credentials
[all...]
/external/chromium_org/chrome/browser/resources/inline_login/
H A Dinline_login.js35 * @param {!Object} credentials Credentials of the completed authentication.
37 function onAuthCompleted(credentials) {
38 chrome.send('completeLogin', [credentials]);
/external/chromium_org/net/http/
H A Dhttp_auth_handler_basic.cc91 const AuthCredentials* credentials, const HttpRequestInfo*,
93 DCHECK(credentials);
96 base::Base64Encode(base::UTF16ToUTF8(credentials->username()) + ":" +
97 base::UTF16ToUTF8(credentials->password()),
90 GenerateAuthTokenImpl( const AuthCredentials* credentials, const HttpRequestInfo*, const CompletionCallback&, std::string* auth_token) argument
H A Dhttp_auth_handler_ntlm.cc33 const AuthCredentials* credentials, const HttpRequestInfo* request,
37 credentials,
42 if (!credentials) {
58 const base::string16& username = credentials->username();
68 credentials_.Set(user, credentials->password());
32 GenerateAuthTokenImpl( const AuthCredentials* credentials, const HttpRequestInfo* request, const CompletionCallback& callback, std::string* auth_token) argument
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DRequestInit.h29 String credentials; member in class:blink::RequestInit

Completed in 497 milliseconds

123456789