On Windows, when retrieving information about certificates, they come from named certificate stores, such as “Trusted Root Certification Authorities” or “Trusted Publishers” – what is the equivalent on macOS?
My best guess is types of keychains, e.g. “login” or “System”, but those are sufficiently different that I’m not sure. The names also don’t seem to come with the certificates (when using
SecItemCopyMatching in Swift, for example).