Lines Matching defs:keybag
319 if (ks_encrypt_data(item->keybag, keyclass, plain, &edata, error)) {
333 keybag_handle_t keybag = (keybag_handle_t)handle;
338 if (!ks_encrypt_data(keybag, keyclass, plain, &edata, error))
625 static SecDbItemRef SecDbItemCreate(CFAllocatorRef allocator, const SecDbClass *class, keybag_handle_t keybag) {
629 item->keybag = keybag;
639 return item->keybag;
642 bool SecDbItemSetKeybag(SecDbItemRef item, keybag_handle_t keybag, CFErrorRef *error) {
645 if (item->keybag != keybag) {
646 item->keybag = keybag;
771 SecDbItemRef SecDbItemCreateWithAttributes(CFAllocatorRef allocator, const SecDbClass *class, CFDictionaryRef attributes, keybag_handle_t keybag, CFErrorRef *error) {
772 SecDbItemRef item = SecDbItemCreate(kCFAllocatorDefault, class, keybag);
830 SecDbItemRef SecDbItemCreateWithStatement(CFAllocatorRef allocator, const SecDbClass *class, sqlite3_stmt *stmt, keybag_handle_t keybag, CFErrorRef *error, bool (^return_attr)(const SecDbAttr *attr)) {
831 SecDbItemRef item = SecDbItemCreate(allocator, class, keybag);
847 CFDataRef edata, keybag_handle_t keybag, CFErrorRef *error) {
848 SecDbItemRef item = SecDbItemCreate(allocator, class, keybag);
858 SecDbItemRef SecDbItemCreateWithRowId(CFAllocatorRef allocator, const SecDbClass *class, sqlite_int64 row_id, keybag_handle_t keybag, CFErrorRef *error) {
859 SecDbItemRef item = SecDbItemCreate(allocator, class, keybag);
867 SecDbItemRef new_item = SecDbItemCreate(CFGetAllocator(item), item->class, item->keybag);
914 SecDbItemRef new_item = SecDbItemCreate(CFGetAllocator(item), item->class, item->keybag);