SecAccessOwnerType Values

Flags that enable you to configure ACL ownership.

Topics

Constants

var kSecUseOnlyUID: Int

The access control list should be owned by the user matching the specified user ID parameter.

var kSecUseOnlyGID: Int

The access control list should be owned by users that are members of a group matching the specified group ID parameter.

var kSecHonorRoot: Int

The access control list should treat the root user as a typical user for ownership purposes.

var kSecMatchBits: Int

The access control list should be owned by users whose ID matches the specified user ID or who are members of a group whose ID matches the specified group ID parameter.

See Also

Access Creation

func SecAccessCreate(CFString, CFArray?, UnsafeMutablePointer<SecAccess?>) -> OSStatus

Creates a new access instance associated with a given protected keychain item.

typealias SecAccessOwnerType

A type for flags that enable you to configure ACL ownership.

class SecAccess

An opaque type that identifies a keychain item’s access information.

func SecAccessGetTypeID() -> CFTypeID

Returns the unique identifier of the opaque type to which an access instance belongs.