2 // SOSConcordanceTrust.h
5 // Created by Richard Murphy on 3/15/15.
9 #ifndef _sec_SOSConcordanceTrust_
10 #define _sec_SOSConcordanceTrust_
12 #include <CoreFoundation/CoreFoundation.h>
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,
30 #endif /* defined(_sec_SOSConcordanceTrust_) */