Function

SecKeychainSetAccess

Sets the application access for a keychain.

Declaration

OSStatus SecKeychainSetAccess(SecKeychainRef keychain, SecAccessRef access);

Parameters

keychain

A reference to the keychain for which to set the access. Pass NULL to specify the default keychain.

access

An access object of type SecAccessRef containing access control lists for the keychain. See Access Control Lists for more information about creating an access object.

Return Value

See Also

Access

SecKeychainCopyAccess

Retrieves the application access of a keychain.

Deprecated