]>
Commit | Line | Data |
---|---|---|
866f8763 A |
1 | // |
2 | // mark.h | |
3 | // Security | |
4 | // | |
5 | // Created by Ben Williamson on 6/2/17. | |
6 | // | |
7 | // | |
8 | ||
9 | #import <Foundation/Foundation.h> | |
10 | ||
11 | @class Keychain; | |
12 | ||
13 | NSDictionary<NSString *, NSString *> *markForIdent(NSString *ident); | |
14 | NSDictionary<NSString *, NSString *> *updateForIdent(NSString *ident); | |
15 | ||
16 | void writeMark(NSString *ident, NSString *view); | |
17 | ||
18 | void deleteMark(NSString *ident); | |
19 | ||
20 | void updateMark(NSString *ident); | |
21 | ||
22 | // Returns YES if the access group contains exactly the expected items | |
23 | // of the given idents (and no other items) or NO otherwise. | |
24 | BOOL verifyMarks(NSArray<NSString *> *idents); | |
25 | BOOL verifyUpdateMarks(NSArray<NSString *> *idents); |