Function

SecKeychainCopySettings

Obtains a keychain’s settings.

Declaration

OSStatus SecKeychainCopySettings(SecKeychainRef keychain, SecKeychainSettings *outSettings);

Parameters

keychain

A reference to the keychain from which to copy its settings.

outSettings

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.

Return Value

See Also

Settings

SecKeychainSetSettings

Changes the settings of a keychain.

SecKeychainSettings

A structure that contains information about keychain settings.

SEC_KEYCHAIN_SETTINGS_VERS1

Defines the keychain settings version.