Searched refs:SecItemCopyMatching (Results 1 - 25 of 80) sorted by relevance

1234

/macosx-10.10/Security-57031.1.35/Security/sec/Security/Regressions/secitem/
H A Dsi-43-persistent.c58 ok_status(SecItemCopyMatching(query, &results), "find internet password by attr");
71 ok_status(SecItemCopyMatching(query2, &results2), "find internet password by persistent ref");
79 ok_status(!SecItemCopyMatching(query, &results),
92 ok_status(!SecItemCopyMatching(query2, &results2),
113 ok_status(SecItemCopyMatching(query3, &results2), "find updated internet password by persistent ref");
123 ok_status(SecItemCopyMatching(query4, &results2), "find non updated internet password by persistent ref");
130 is_status(SecItemCopyMatching(query3, &results2), errSecItemNotFound,
133 ok_status(SecItemCopyMatching(query4, &results2),
H A Dsi-33-keychain-backup.c107 ok_status(SecItemCopyMatching(p->query, &results), "find internet password by attr");
120 ok_status(SecItemCopyMatching(p->query2, &results2), "find internet password by persistent ref");
128 ok_status(!SecItemCopyMatching(p->query, &results),
143 ok_status(!SecItemCopyMatching(p->query2, &results2),
172 ok_status(SecItemCopyMatching(p->query3, &results2), "find updated internet password by persistent ref");
187 ok_status(SecItemCopyMatching(p->query4, &results2), "find non updated internet password by persistent ref");
195 is_status(SecItemCopyMatching(p->query3, &results2), errSecItemNotFound,
198 ok_status(SecItemCopyMatching(p->query4, &results2),
214 ok_status(!SecItemCopyMatching(p->query, &results),
218 ok_status(!SecItemCopyMatching(
[all...]
H A Dsi-00-find-nothing.c29 is_status(SecItemCopyMatching(query, &results), errSecItemNotFound,
H A Dsi-30-keychain-upgrade.c77 is_status(SecItemCopyMatching(query, &results), errSecItemNotFound, "expected nothing got %@", results);
124 ok_status(SecItemCopyMatching(query, NULL), "Found the item we added");
H A Dsi-31-keychain-unreadable.c42 is_status(SecItemCopyMatching(query, &results), errSecItemNotFound, "expected nothing got %@", results);
88 ok_status(SecItemCopyMatching(query, NULL), "Found the item we added");
H A Dsi-10-find-internet.c52 ok_status(SecItemCopyMatching(query, &results), "find internet password");
58 ok_status(SecItemCopyMatching(query2, &results), "find internet password, return attributes");
63 ok_status(SecItemCopyMatching(query2, &results), "find internet password using returned attributes");
H A Dsi-72-syncableitems.c97 is_status(SecItemCopyMatching(query, (CFTypeRef *)&result),
98 errSecSuccess, "SecItemCopyMatching sync=true");
122 is_status(SecItemCopyMatching(query, (CFTypeRef *)&result),
123 errSecSuccess, "SecItemCopyMatching sync=any");
177 is_status(SecItemCopyMatching(query, (CFTypeRef *)&result),
178 errSecSuccess, "SecItemCopyMatching post-update");
H A Dsi-78-query-attrs.c15 /* Test regression from <rdar://problem/16461008> REGRESSION (Security-1601?): Preferences crashes when trying to view Safari > Saved Credit Cards (SecItemCopyMatching returns empty dictionaries when kSecReturnAttributes is not true) */
74 ok_status(SecItemCopyMatching(query, &result), "query generic password");
90 ok_status(SecItemCopyMatching(query, &result), "query generic password");
104 ok_status(SecItemCopyMatching(query, &result), "query generic password");
H A Dsi-81-item-acl-stress.c231 is_status(SecItemCopyMatching(item, NULL), errSecItemNotFound, "do not find after add failed");
235 ok_status(SecItemCopyMatching(item, NULL), "find local");
237 is_status(SecItemCopyMatching(item, NULL), errSecItemNotFound, "do not find after delete local");
241 is_status(SecItemCopyMatching(item, NULL), errSecItemNotFound, "do not find sync");
248 is_status(SecItemCopyMatching(item, NULL), errSecInteractionNotAllowed, "find local - acl with authentication UI");
250 is_status(SecItemCopyMatching(item, NULL), errSecItemNotFound, "do not find after delete local - acl with authentication UI");
H A Dsi-80-empty-data.c32 ok_status(SecItemCopyMatching(query, &result), "query generic password");
H A Dsi-12-item-stress.c43 ok_status(SecItemCopyMatching(dict, &result), "lookup item data by persistent ref");
347 ok_status(SecItemCopyMatching(item, NULL), "find tombstone after delete sync");
358 is_status(SecItemCopyMatching(item, NULL), errSecItemNotFound, "do not find tombstone after delete sync with kSecUseTombstones=false");
365 is_status(SecItemCopyMatching(item, NULL), errSecItemNotFound, "do not find tombstone after delete local");
376 ok_status(SecItemCopyMatching(item, NULL), "find tombstone after delete sync with kSecUseTombstones=true");
382 ok_status(SecItemCopyMatching(item, NULL), "find tombstone after delete local tombstone with kSecUseTombstones=true");
384 is_status(SecItemCopyMatching(item, NULL), errSecItemNotFound, "do not find tombstone after delete local");
H A Dsi-11-update-data.c40 ok_status(SecItemCopyMatching(query, &results), "find generic password");
H A Dsi-68-secmatchissuer.c171 ok_status(SecItemCopyMatching(all_identities_query, &all_matching_identities), "find all identities matching");
184 ok_status(SecItemCopyMatching(all_identities_query, &all_matching_certificates), "find all certificates matching");
/macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/regressions/
H A Dsi-33-keychain-backup.c78 ok_status(SecItemCopyMatching(query, &result), "find item we are about to destroy");
86 is_status(SecItemCopyMatching(query, &result), errSecItemNotFound, "find item we are about to destroy");
91 ok_status(SecItemCopyMatching(query, &result), "find restored item");
/macosx-10.10/WebKit2-7600.1.25/WebProcess/mac/
H A DSecItemShimLibrary.mm60 DYLD_INTERPOSE(shimSecItemCopyMatching, SecItemCopyMatching)
/macosx-10.10/Security-57031.1.35/Security/sec/securityd/Regressions/
H A Dsecd-01-items.c126 ok_status(SecItemCopyMatching(query, &results), "find internet password, while unlocked ");
137 is_status(SecItemCopyMatching(query, &results), errSecInteractionNotAllowed, "find internet password, while locked ");
H A Dsecd-02-upgrade-while-locked.c70 ok = SecItemCopyMatching(query, &results);
96 verify_action(SecItemCopyMatching(query, &results)==errSecUpgradePending, CFReleaseSafe(query); return (void *)-1);
H A Dsecd-30-keychain-upgrade.c111 ok_status(SecItemCopyMatching(query, NULL), "Found the item we added");
H A Dsecd-31-keychain-unreadable.c81 ok_status(SecItemCopyMatching(query, NULL), "Found the item we added");
/macosx-10.10/Security-57031.1.35/SecurityTests/regressions/kc/
H A Dkc-52-testCFEqualAndHash.c19 OSStatus err = SecItemCopyMatching(query, &result);
20 ok_status(noErr == err && NULL != result, "SecItemCopyMatching"); // 2
/macosx-10.10/WebKit2-7600.1.25/UIProcess/mac/
H A DSecItemShimProxy.cpp72 OSStatus resultCode = SecItemCopyMatching(request.query(), &resultObject);
/macosx-10.10/Security-57031.1.35/Security/sec/SOSCircle/Regressions/
H A Dsc-51-persistentEC.c76 ok_status(SecItemCopyMatching(keysearch_parameters, &results), "find EC key by attr");
/macosx-10.10/Security-57031.1.35/Security/Keychain/
H A DKDSecItems.m81 OSStatus result = SecItemCopyMatching((__bridge CFDictionaryRef)(query), &raw_items);
/macosx-10.10/Security-57031.1.35/libsecurity_smime/Security/
H A Dcrypto-embedded.c100 SecItemCopyMatching(query, &result);
257 require_noerr_quiet(SecItemCopyMatching(query, (CFTypeRef*)&ident), out);
289 require_noerr_quiet(SecItemCopyMatching(query, (CFTypeRef*)&ident), out);
/macosx-10.10/Security-57031.1.35/libsecurity_smime/lib/
H A Dcrypto-embedded.c100 SecItemCopyMatching(query, &result);
257 require_noerr_quiet(SecItemCopyMatching(query, (CFTypeRef*)&ident), out);
289 require_noerr_quiet(SecItemCopyMatching(query, (CFTypeRef*)&ident), out);

Completed in 292 milliseconds

1234