Core Foundation helper functions for the Keychain Services API