]> git.saurik.com Git - apple/security.git/blob - OSX/sec/SOSCircle/SecureObjectSync/SOSConcordanceTrust.h
Security-57336.1.9.tar.gz
[apple/security.git] / OSX / sec / SOSCircle / SecureObjectSync / SOSConcordanceTrust.h
1 //
2 // SOSConcordanceTrust.h
3 // sec
4 //
5 // Created by Richard Murphy on 3/15/15.
6 //
7 //
8
9 #ifndef _sec_SOSConcordanceTrust_
10 #define _sec_SOSConcordanceTrust_
11
12 #include <CoreFoundation/CoreFoundation.h>
13
14 typedef CF_ENUM(uint32_t, SOSConcordanceStatus) {
15 kSOSConcordanceTrusted = 0,
16 kSOSConcordanceGenOld = 1, // kSOSErrorReplay
17 kSOSConcordanceNoUserSig = 2, // kSOSErrorBadSignature
18 kSOSConcordanceNoUserKey = 3, // kSOSErrorNoKey
19 kSOSConcordanceNoPeer = 4, // kSOSErrorPeerNotFound
20 kSOSConcordanceBadUserSig = 5, // kSOSErrorBadSignature
21 kSOSConcordanceBadPeerSig = 6, // kSOSErrorBadSignature
22 kSOSConcordanceNoPeerSig = 7,
23 kSOSConcordanceWeSigned = 8,
24 kSOSConcordanceInvalidMembership = 9, // Only used for BackupRings so far
25 kSOSConcordanceMissingMe = 10, // Only used for BackupRings so far
26 kSOSConcordanceImNotWorthy = 11, // Only used for BackupRings so far
27 kSOSConcordanceError = 99,
28 };
29
30 #endif /* defined(_sec_SOSConcordanceTrust_) */