]> git.saurik.com Git - apple/security.git/blob - keychain/SecureObjectSync/SOSTransportKeyParameter.h
Security-59754.60.13.tar.gz
[apple/security.git] / keychain / SecureObjectSync / SOSTransportKeyParameter.h
1
2 #ifndef SOSTransportKeyParameter_h
3 #define SOSTransportKeyParameter_h
4
5 #include "keychain/SecureObjectSync/SOSAccountPriv.h"
6
7 @interface CKKeyParameter : NSObject
8 {
9 SOSAccount* account;
10 }
11
12 @property (atomic) SOSAccount* account;
13
14 -(id) initWithAccount:(SOSAccount*) account;
15
16 -(bool) SOSTransportKeyParameterPublishCloudParameters:(CKKeyParameter*) transport data:(CFDataRef)newParameters err:(CFErrorRef*) error;
17
18 -(bool) SOSTransportKeyParameterHandleKeyParameterChanges:(CKKeyParameter*) transport data:(CFDataRef) data err:(CFErrorRef) error;
19 -(void) SOSTransportKeyParameterHandleNewAccount:(CKKeyParameter*) transport acct:(SOSAccount*) account;
20
21 -(SOSAccount*) SOSTransportKeyParameterGetAccount:(CKKeyParameter*) transport;
22 -(CFIndex) SOSTransportKeyParameterGetTransportType:(CKKeyParameter*) transport err:(CFErrorRef *)error;
23
24 -(bool) SOSTransportKeyParameterKVSAppendKeyInterests:(CKKeyParameter*)transport ak:(CFMutableArrayRef)alwaysKeys firstUnLock:(CFMutableArrayRef)afterFirstUnlockKeys unlocked:(CFMutableArrayRef) unlockedKeys err:(CFErrorRef *)error;
25
26 @end
27
28
29 #endif