X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/80e2389990082500d76eb566d4946be3e786c3ef..d8f41ccd20de16f8ebe2ccc84d47bf1cb2b26bbb:/codesign_wrapper/MISEntitlement.h diff --git a/codesign_wrapper/MISEntitlement.h b/codesign_wrapper/MISEntitlement.h new file mode 100644 index 00000000..8ad1e661 --- /dev/null +++ b/codesign_wrapper/MISEntitlement.h @@ -0,0 +1,23 @@ +/* + * MISEntitlements.h + * Constants and interfaces for dealing with entitlements + */ + +#ifndef MISENTITLEMENT_H +#define MISENTITLEMENT_H + +#include + +#include + + +/* Return an array of all known entitlements */ +MIS_EXPORT CFArrayRef MISEntitlementCopyAllEntitlements(void); + +/* + * Check if the entitlement dictionary permits an entitlement to have the + * given value + */ +Boolean MISEntitlementDictionaryAllowsEntitlementValue(CFDictionaryRef entitlements, CFStringRef entitlement, CFTypeRef value); + +#endif