Structure

SecAccessControlRef

An opaque type that contains information about how a keychain item may be used.

Declaration

iOS, tvOS, watchOS
typedef struct __SecAccessControl SecAccessControlRef;
macOS
typedef struct OpaqueSecAccessControlRef SecAccessControlRef;

See Also

Keychain Item Access

Sharing Access to Keychain Items Among a Collection of Apps

Enable apps to share keychain items with each other by adding the apps to an access group.

Restricting Keychain Item Accessibility

Set the conditions under which an app can access a keychain item such as a password.

SecAccessControlCreateWithFlags

Creates a new access control object with the specified protection type and flags.

SecAccessControlCreateFlags

Access control constants that dictate how a keychain item may be used.

SecAccessControlGetTypeID

Returns the unique identifier of the opaque type to which a keychain item access control object belongs.