]> git.saurik.com Git - apple/security.git/blob - codesign_wrapper/MISEntitlement.h
Security-57337.50.23.tar.gz
[apple/security.git] / codesign_wrapper / MISEntitlement.h
1 /*
2 * MISEntitlements.h
3 * Constants and interfaces for dealing with entitlements
4 */
5
6 #ifndef MISENTITLEMENT_H
7 #define MISENTITLEMENT_H
8
9 #include <MISBase.h>
10
11 #include <CoreFoundation/CoreFoundation.h>
12
13
14 /* Return an array of all known entitlements */
15 MIS_EXPORT CFArrayRef MISEntitlementCopyAllEntitlements(void);
16
17 /*
18 * Check if the entitlement dictionary permits an entitlement to have the
19 * given value
20 */
21 Boolean MISEntitlementDictionaryAllowsEntitlementValue(CFDictionaryRef entitlements, CFStringRef entitlement, CFTypeRef value);
22
23 #endif