Structure

SecKeychainSettings

A structure that contains information about keychain settings.

Declaration

typedef struct SecKeychainSettings {
    ...
} SecKeychainSettings;

Overview

This structure contains information about a keychain’s settings such as locking on sleep and the lock time interval. Use the SecKeychainSetSettings and SecKeychainCopySettings functions to set and copy a keychain’s settings.

Topics

Instance Properties

lockInterval

The number of seconds to wait before the keychain locks.

lockOnSleep

A Boolean value indicating whether the keychain locks when the system sleeps.

useLockInterval

A Boolean value indicating whether the keychain automatically locks after a certain period of time.

version

The keychain version.

See Also

Settings

SecKeychainSetSettings

Changes the settings of a keychain.

SecKeychainCopySettings

Obtains a keychain’s settings.

SEC_KEYCHAIN_SETTINGS_VERS1

Defines the keychain settings version.