2 #ifndef SOSTransportKeyParameter_h
3 #define SOSTransportKeyParameter_h
5 #import <Security/SecureObjectSync/SOSAccountPriv.h>
7 @interface CKKeyParameter
: NSObject
12 @
property (atomic
) SOSAccount
* account
;
14 -(id
) initWithAccount
:(SOSAccount
*) account
;
16 -(bool) SOSTransportKeyParameterPublishCloudParameters
:(CKKeyParameter
*) transport data
:(CFDataRef
)newParameters err
:(CFErrorRef
*) error
;
18 -(bool) SOSTransportKeyParameterHandleKeyParameterChanges
:(CKKeyParameter
*) transport data
:(CFDataRef
) data err
:(CFErrorRef
) error
;
19 -(void) SOSTransportKeyParameterHandleNewAccount
:(CKKeyParameter
*) transport acct
:(SOSAccount
*) account
;
21 -(SOSAccount
*) SOSTransportKeyParameterGetAccount
:(CKKeyParameter
*) transport
;
22 -(CFIndex
) SOSTransportKeyParameterGetTransportType
:(CKKeyParameter
*) transport err
:(CFErrorRef
*)error
;
24 -(bool) SOSTransportKeyParameterKVSAppendKeyInterests
:(CKKeyParameter
*)transport ak
:(CFMutableArrayRef
)alwaysKeys firstUnLock
:(CFMutableArrayRef
)afterFirstUnlockKeys unlocked
:(CFMutableArrayRef
) unlockedKeys err
:(CFErrorRef
*)error
;