Enumeration

SecKeychainEvent

The list of keychain events that can trigger a callback.

Declaration

typedef enum SecKeychainEvent : UInt32 {
    ...
} SecKeychainEvent;

Overview

Keychain Services includes one of these events in the callback you register with SecKeychainAddCallback, using the function signature defined by SecKeychainCallback, to indicate what event triggered the callback.

Topics

Constants

kSecLockEvent

Indicates a keychain was locked.

kSecUnlockEvent

Indicates a keychain was successfully unlocked.

kSecAddEvent

Indicates an item was added to a keychain.

kSecDeleteEvent

Indicates an item was deleted from a keychain.

kSecUpdateEvent

Indicates a keychain item was updated.

kSecPasswordChangedEvent

Indicates the keychain password was changed.

kSecDefaultChangedEvent

Indicates that a different keychain was specified as the default.

kSecDataAccessEvent

Indicates a process has accessed a keychain item’s data.

Deprecated
kSecKeychainListChangedEvent

Indicates the list of keychains has changed.

kSecTrustSettingsChangedEvent

Indicates trust settings have changed.

See Also

Callbacks

SecKeychainAddCallback

Registers your keychain event callback function.

SecKeychainRemoveCallback

Unregisters your keychain event callback function.

SecKeychainCallback

A customized callback function that keychain services call when a keychain event has occurred.

SecKeychainCallbackInfo

Information about a keychain event that keychain services deliver to your app via a callback function.

SecKeychainEventMask

Bit masks corresponding to the events that can trigger a keychain callback.