• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/Security-57031.1.35/Security/libsecurity_keychain/lib/

Lines Matching refs:TrustSettings

33 #include "TrustSettings.h"
79 #pragma mark --- TrustSettings preferences ---
112 #pragma mark --- TrustSettings global cache ---
115 *** cache submodule - keeps per-app copy of zero or one TrustSettings
123 * the TrustSettings maintained here.
132 * The three global TrustSettings.
136 static TrustSettings *globalTrustSettings[TRUST_SETTINGS_NUM_DOMAINS] =
156 TrustSettings *ts,
170 * Obtain global TrustSettings for specified domain if it exists.
175 static TrustSettings *tsGetGlobalTrustSettings(
193 TrustSettings *ts = NULL;
195 result = TrustSettings::CreateTrustSettings(domain, CREATE_NO, TRIM_YES, ts);
210 * No TrustSettings for this domain, actually a fairly common case.
228 * Purge TrustSettings cache.
330 TrustSettings* ts;
332 result = TrustSettings::CreateTrustSettings(domain, CREATE_NO, TRIM_NO, ts);
342 auto_ptr<TrustSettings>_(ts); // make sure this gets deleted just in case something throws underneath
406 TrustSettings *ts = tsGetGlobalTrustSettings(domain);
443 * The design of the entire TrustSettings module is centered around
446 * as a dictionary, keyed off of the cert hash. It's why TrustSettings
448 * cached TrustSettings objects are 'trimmed' of dictionary fields
454 * not use cached TrustSettings as this function does.
494 /* initial condition - this can grow if we inspect multiple TrustSettings */
508 TrustSettings *ts = tsGetGlobalTrustSettings(domain);
606 * the key used to look up per-cert trust settings in a TrustSettings record.
657 * Add a cert's TrustSettings to a non-persistent TrustSettings record.
658 * No locking or cache flushing here; it's all local to the TrustSettings
672 TrustSettings* ts;
674 result = TrustSettings::CreateTrustSettings(kSecTrustSettingsDomainMemory, settingsIn, ts);
679 auto_ptr<TrustSettings>_(ts);
735 TrustSettings* ts;
737 result = TrustSettings::CreateTrustSettings(domain, CREATE_YES, TRIM_NO, ts);
742 auto_ptr<TrustSettings>_(ts);
765 TrustSettings* ts;
767 result = TrustSettings::CreateTrustSettings(domain, CREATE_NO, TRIM_NO, ts);
772 auto_ptr<TrustSettings>_(ts);
795 TrustSettings* ts;
797 result = TrustSettings::CreateTrustSettings(domain, CREATE_NO, TRIM_NO, ts);
802 auto_ptr<TrustSettings>_(ts);
832 /* already validated when we created the TrustSettings */
846 * domain's TrustSettings. Caller must CFRelease the returned data.
857 TrustSettings* ts;
859 result = TrustSettings::CreateTrustSettings(domain, CREATE_NO, TRIM_NO, ts);
864 auto_ptr<TrustSettings>_(ts);
887 TrustSettings* ts;
889 result = TrustSettings::CreateTrustSettings(domain, trustSettings, ts);
894 auto_ptr<TrustSettings>_(ts);