2 // SOSPeerInfoSecurityProperties.h
5 // Created by Richard Murphy on 3/14/15.
9 #ifndef _sec_SOSPeerInfoSecurityProperties_
10 #define _sec_SOSPeerInfoSecurityProperties_
13 #include <CoreFoundation/CFRuntime.h>
14 #include <CoreFoundation/CoreFoundation.h>
15 #include <Security/SecureObjectSync/SOSCloudCircle.h>
16 #include <Security/SecureObjectSync/SOSPeerInfo.h>
17 #include <Security/SecureObjectSync/SOSAccount.h>
19 typedef struct __OpaqueSOSSecurityProperty
{
22 } *SOSSecurityPropertyRef
;
24 bool SOSSecurityPropertiesSetDefault(SOSPeerInfoRef pi
, CFErrorRef
*error
);
25 CFMutableSetRef
SOSSecurityPropertiesCreateDefault(SOSPeerInfoRef pi
, CFErrorRef
*error
);
27 // Basic interfaces to change and query Security Properties
28 SOSSecurityPropertyResultCode
SOSSecurityPropertyEnable(SOSPeerInfoRef pi
, CFStringRef propertyname
, CFErrorRef
*error
);
29 SOSSecurityPropertyResultCode
SOSSecurityPropertyDisable(SOSPeerInfoRef pi
, CFStringRef propertyname
, CFErrorRef
*error
);
30 SOSSecurityPropertyResultCode
SOSSecurityPropertyQuery(SOSPeerInfoRef pi
, CFStringRef propertyname
, CFErrorRef
*error
);
32 CFSetRef
SOSSecurityPropertyGetAllCurrent(void);
33 CFMutableSetRef
SOSPeerInfoCopySecurityProperty(SOSPeerInfoRef pi
);
35 #endif /* defined(_sec_SOSPeerInfoSecurityProperties_) */