• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/Security-55471.14.18/include/security_codesigning/

Lines Matching defs:authority

206 	// no applicable authority (but signed, perhaps temporarily). Deny by default
236 if (matchFlags == 0) { // playback; consult authority table for matches
251 "SELECT flags FROM authority "
534 // no applicable authority. Deny by default
644 CFMutableDictionaryRef authority = CFMutableDictionaryRef(CFDictionaryGetValue(parent, kSecAssessmentAssessmentAuthority));
645 assert(authority);
646 CFDictionaryAddValue(authority, key, value);
729 "INSERT INTO authority (type, allow, requirement, priority, label, expires, filter_unsigned, remarks, flags)"
745 SQLite::Statement bi(*this, "INSERT INTO bookmarkhints (bookmark, authority) VALUES (:bookmark, :authority)");
747 bi.bind(":authority").integer(newRow);
770 return manipulateRules("DELETE FROM authority", target, type, flags, context);
775 return manipulateRules("UPDATE authority SET disabled = 0", target, type, flags, context);
780 return manipulateRules("UPDATE authority SET disabled = 1", target, type, flags, context);
786 selectRules(query, "SELECT scan_authority.id, scan_authority.type, scan_authority.requirement, scan_authority.allow, scan_authority.label, scan_authority.priority, scan_authority.remarks, scan_authority.expires, scan_authority.disabled, bookmarkhints.bookmark FROM scan_authority LEFT OUTER JOIN bookmarkhints ON scan_authority.id = bookmarkhints.authority",
853 // Construct and prepare an SQL query on the authority table, operating on some set of existing authority records.
902 // Execute an atomic change to existing records in the authority table.
910 selectRules(action, stanza, "authority", inTarget, type, flags, context);
944 void PolicyEngine::recordOutcome(SecStaticCodeRef code, bool allow, AuthorityType type, double expires, SQLite::int64 authority)
955 "INSERT OR REPLACE INTO object (type, allow, hash, expires, path, authority)"
957 " CASE :authority WHEN 0 THEN (SELECT id FROM authority WHERE label = 'No Matching Rule') ELSE :authority END"
964 insert.bind(":authority").integer(authority);