Obtains a keychain’s settings.
- macOS 10.2+
A reference to the keychain from which to copy its settings.
On return, a pointer to a keychain settings structure. Since this structure is versioned, you must allocate the memory for it and fill in the version of the structure before passing it to the function.
A result code. See Security Framework Result Codes.