I'm able to create a custom keychian using:
OSStatus SecKeychainCreate(const char *pathName, UInt32 passwordLength, const void *password, Boolean promptUser, SecAccessRef initialAccess, SecKeychainRef *keychain);
Once that keychain is created however, I want to be able to change the password used to unlock the keychain periodically. So far, I have not found the corresponding SecKeychain* method to do that.
The following command works in terminal "/usr/bin/security set-keychain-password ...." but how to in the Security framework?