]> git.saurik.com Git - apple/security.git/blob - keychain/SecureObjectSync/CKDSimulatedStore.h
Security-59306.11.20.tar.gz
[apple/security.git] / keychain / SecureObjectSync / CKDSimulatedStore.h
1 //
2 // CKDSimulatedStore.h
3 // Security
4 //
5 // Created by Mitch Adler on 10/31/16.
6 //
7 //
8
9 #import "CKDStore.h"
10
11 @interface CKDSimulatedStore : NSObject <CKDStore>
12
13 + (instancetype)simulatedInterface;
14 - (instancetype)init;
15
16 - (void)connectToProxy: (UbiqitousKVSProxy*) proxy;
17
18 - (NSObject*)objectForKey:(NSString*)key;
19
20 - (void)setObject:(id)obj forKey:(NSString*)key;
21 - (void)addEntriesFromDictionary:(NSDictionary<NSString*, NSObject*> *)otherDictionary;
22
23 - (void)removeObjectForKey:(NSString*)key;
24 - (void)removeAllObjects;
25
26 - (NSDictionary<NSString *, id>*) copyAsDictionary;
27
28 - (void)pushWrites;
29 - (BOOL)pullUpdates:(NSError**) failure;
30 - (void)addOneToOutGoing;
31
32
33 - (void)remoteSetObject:(id)obj forKey:(NSString*)key;
34
35 @end