Contents

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

A result code. See Security Framework Result Codes.