Structure

SecKeychainCallbackInfo

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

Declaration

typedef struct SecKeychainCallbackInfo {
    ...
} SecKeychainCallbackInfo;

Overview

This structure contains information about the keychain event of which your application wants to be notified. Keychain services pass a pointer to this structure in the info parameter of your callback function. For information on how to write a keychain event callback function, see SecKeychainCallback.

Topics

Instance Properties

item

A reference to the keychain item in which the event occurred. If the event did not involve an item, this field is not valid.

keychain

A reference to the keychain in which the event occurred. If the event did not involve a keychain, this field is not valid.

pid

The ID of the process that generated this event.

version

The version of this structure.

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.

SecKeychainEvent

The list of keychain events that can trigger a callback.

SecKeychainEventMask

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