void recordFailure(CFDictionaryRef info);
public:
- static void addAuthority(SecAssessmentFlags flags, CFMutableDictionaryRef parent, const char *label, SQLite::int64 row = 0, CFTypeRef cacheInfo = NULL, bool weak = false);
+ static void addAuthority(SecAssessmentFlags flags, CFMutableDictionaryRef parent, const char *label, SQLite::int64 row = 0, CFTypeRef cacheInfo = NULL, bool weak = false, uint64_t ruleFlags = 0);
static void addToAuthority(CFMutableDictionaryRef parent, CFStringRef key, CFTypeRef value);
private:
void recordOutcome(SecStaticCodeRef code, bool allow, AuthorityType type, double expires, SQLite::int64 authority);
private:
- OpaqueWhitelist mOpaqueWhitelist;
+ OpaqueWhitelist* mOpaqueWhitelist;
+ CFDictionaryRef opaqueWhitelistValidationConditionsFor(SecStaticCodeRef code);
+ bool opaqueWhiteListContains(SecStaticCodeRef code, SecAssessmentFeedback feedback, OSStatus reason);
+ void opaqueWhitelistAdd(SecStaticCodeRef code);
friend class EvaluationManager;
friend class EvaluationTask;