Home | History | Annotate | Download | only in x509

Lines Matching refs:trust

40 // 1. Run "security trust-settings-export" and "security
41 // trust-settings-export -d" to discover the set of certs with some
42 // user-tweaked trust policy. We're too lazy to parse the XML (at
43 // least at this stage of Go 1.8) to understand what the trust
61 println(fmt.Sprintf("crypto/x509: %d certs have a trust policy", len(hasPolicy)))
86 // tweaked their trust policy. These 4 goroutines are only
87 // defensive in the pathological case of many trust edits.
175 // possibly-altered trust policy. The keys of the map are capitalized
178 // verify-cert` to see whether the user altered the default trust
194 // If there are no trust settings, the
195 // `security trust-settings-export` command
197 // exit status 1, SecTrustSettingsCreateExternalRepresentation: No Trust Settings were found.
200 // there are no trust settings.
237 if err := run("user", "trust-settings-export"); err != nil {
238 return nil, fmt.Errorf("dump-trust-settings (user): %v", err)
240 if err := run("admin", "trust-settings-export", "-d"); err != nil {
241 return nil, fmt.Errorf("dump-trust-settings (admin): %v", err)