]> git.saurik.com Git - apple/security.git/blob - OSX/sec/SOSCircle/SecureObjectSync/SOSAccountTrustClassic+Identity.h
Security-58286.60.28.tar.gz
[apple/security.git] / OSX / sec / SOSCircle / SecureObjectSync / SOSAccountTrustClassic+Identity.h
1 //
2 // SOSAccountTrustClassic+Identity.h
3 // Security
4 //
5
6 #ifndef SOSAccountTrustClassic_Identity_h
7 #define SOSAccountTrustClassic_Identity_h
8
9 #import "Security/SecureObjectSync/SOSAccountTrustClassic.h"
10
11 @class SOSAccountTrustClassic;
12
13 @interface SOSAccountTrustClassic (Identity)
14 //FullPeerInfo
15 -(bool) updateFullPeerInfo:(SOSAccount*)account minimum:(CFSetRef)minimumViews excluded:(CFSetRef)excludedViews;
16 -(SOSFullPeerInfoRef) getMyFullPeerInfo;
17 -(bool) fullPeerInfoVerify:(SecKeyRef) privKey err:(CFErrorRef *)error;
18 -(bool) hasFullPeerInfo:(CFErrorRef*) error;
19 -(SOSFullPeerInfoRef) CopyAccountIdentityPeerInfo CF_RETURNS_RETAINED;
20 -(bool) ensureFullPeerAvailable:(CFDictionaryRef)gestalt deviceID:(CFStringRef)deviceID backupKey:(CFDataRef)backup err:(CFErrorRef *) error;
21 -(bool) isMyPeerActive:(CFErrorRef*) error;
22 -(void) purgeIdentity;
23
24 - (void)ensureOctagonPeerKeys:(SOSKVSCircleStorageTransport*)circleTransport;
25
26 @end
27
28
29 #endif /* SOSAccountTrustClassic_Identity_h */