Opens a keychain.
- macOS 10.2+
A constant character string representing the POSIX path to the keychain to open.
On return, a pointer to the keychain object. You must call the
CFReleasefunction to release this object when you are finished using it.
A result code. See Security Framework Result Codes.
Use this function to retrieve a pointer to a keychain object given the path of the keychain. You don't need to close the keychain, but do release the memory that the pointer occupies when you are finished with it.