Function

SecKeychainSetAccess(_:_:)

Sets the application access for a keychain.

Declaration

func SecKeychainSetAccess(_ keychain: SecKeychain?, _ access: SecAccess) -> OSStatus

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 SecAccess containing access control lists for the keychain. See Access Control Lists for more information about creating an access object.

Return Value

See Also

Access

func SecKeychainCopyAccess(SecKeychain?, UnsafeMutablePointer<SecAccess?>) -> OSStatus

Retrieves the application access of a keychain.

Deprecated