]> git.saurik.com Git - apple/security.git/blob - RegressionTests/manifeststresstest/mark.h
Security-59306.41.2.tar.gz
[apple/security.git] / RegressionTests / manifeststresstest / mark.h
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);