SOSAccountTrustClassic+Identity.h   [plain text]


//
//  SOSAccountTrustClassic+Identity.h
//  Security
//

#ifndef SOSAccountTrustClassic_Identity_h
#define SOSAccountTrustClassic_Identity_h

#import "keychain/SecureObjectSync/SOSAccountTrustClassic.h"

@class SOSAccountTrustClassic;

@interface SOSAccountTrustClassic (Identity)
//FullPeerInfo
-(bool) updateFullPeerInfo:(SOSAccount*)account minimum:(CFSetRef)minimumViews excluded:(CFSetRef)excludedViews;
-(SOSFullPeerInfoRef) getMyFullPeerInfo;
-(bool) fullPeerInfoVerify:(SecKeyRef) privKey err:(CFErrorRef *)error;
-(bool) hasFullPeerInfo:(CFErrorRef*) error;
-(SOSFullPeerInfoRef) CopyAccountIdentityPeerInfo CF_RETURNS_RETAINED;
-(bool) ensureFullPeerAvailable:(SOSAccount*)account err:(CFErrorRef *) error;
-(bool) isMyPeerActive:(CFErrorRef*) error;
-(void) purgeIdentity;

- (void)ensureOctagonPeerKeys:(SOSKVSCircleStorageTransport*)circleTransport;

@end


#endif /* SOSAccountTrustClassic_Identity_h */