Contents

kSecTrustSettingsDefaultRootCertSetting

A value indicating the default root certificate trust settings when used as a certificate object in a trust settings API function.

Declaration

#define kSecTrustSettingsDefaultRootCertSetting

Discussion

Use this value with the SecTrustSettingsSetTrustSettings(_:_:_:) function to set the default trust settings for root certificates. When evaluating trust settings for a root certificate in a given domain, if no matching explicit trust settings exist for that certificate, then the default value for the effective trust setting is returned (assuming that a default has been set and that the result is not SecTrustSettingsResult.unspecified).