Lines Matching defs:keybag
473 CFDataRef keybag = NULL, passcode = NULL;
474 if (SecXPCDictionaryCopyDataOptional(event, kSecXPCKeyKeybag, &keybag, &error)) {
476 CFDataRef backup = _SecServerKeychainBackup(keybag, passcode, &error);
483 CFReleaseSafe(keybag);
491 CFDataRef keybag = SecXPCDictionaryCopyData(event, kSecXPCKeyKeybag, &error);
492 if (keybag) {
495 bool result = _SecServerKeychainRestore(backup, keybag, passcode, &error);
499 CFRelease(keybag);
519 CFDataRef keybag = SecXPCDictionaryCopyData(event, kSecXPCKeyKeybag, &error);
520 if (keybag) {
523 CFDictionaryRef newbackup = _SecServerBackupSyncable(oldbackup, keybag, passcode, &error);
530 CFRelease(keybag);
540 CFDataRef keybag = SecXPCDictionaryCopyData(event, kSecXPCKeyKeybag, &error);
541 if (keybag) {
544 bool result = _SecServerRestoreSyncable(backup, keybag, passcode, &error);
548 CFRelease(keybag);