Lines Matching defs:keychain

36 // Utility class to handle the details of constructing and running a keychain
40 explicit KeychainSearch(const AppleKeychain& keychain);
67 KeychainSearch::KeychainSearch(const AppleKeychain& keychain)
68 : keychain_(&keychain), search_ref_(NULL) {
259 bool FillPasswordFormFromKeychainItem(const AppleKeychain& keychain,
289 OSStatus result = keychain.ItemCopyAttributesAndData(keychain_item, &attrInfo,
363 keychain.ItemFreeAttributesAndData(attrList, password_data);
386 // We never merge blacklist entries between our store and the keychain.
409 // keychain items with paths probably came from us).
457 // than being merged with keychain forms.
489 const AppleKeychain& keychain) {
491 MacKeychainPasswordFormAdapter keychain_adapter(&keychain);
498 keychain,
508 const AppleKeychain& keychain,
510 // First load the attributes of all items in the keychain without loading
512 // This avoids individually searching through the keychain for passwords
514 // performance gain, replacing O(N) keychain search operations with a single
515 // operation that loads all keychain items, and then selective reads of only
520 keychain);
530 ExtractPasswordsMergeableWithForm(keychain, item_form_pairs, **i);
545 keychain.Free(*i);
594 const AppleKeychain& keychain,
605 keychain,
609 // Do not include blacklisted items found in the keychain.
622 const AppleKeychain* keychain)
623 : keychain_(keychain), finds_only_owned_(false) {
691 // We should never be trying to store a blacklist in the keychain.
767 // We don't store blacklist entries in the keychain, so the answer to "what
866 AppleKeychain* keychain,
869 keychain_(keychain),
896 // Mac stores passwords in the system keychain, which can block for an
927 // If the password isn't in either the DB or the keychain, then it must have
932 // The keychain add will update if there is a collision and add if there
949 // (If a user does lose their profile but not their keychain we'll treat the
956 // the names of the form elements), delete the keychain entry.
1012 // Let's gather all signon realms we want to match with keychain entries.