An opaque type that identifies a keychain item’s access information.
SDK
- macOS 10.2+
Framework
- Security
Declaration
class SecAccess
An opaque type that identifies a keychain item’s access information.
SDK
Framework
class SecAccess
func Sec Access Create(CFString, CFArray?, Unsafe Mutable Pointer<Sec Access?>) -> OSStatus
Creates a new access instance associated with a given protected keychain item.
func Sec Access Create With Owner And ACL(uid _t, gid _t, Sec Access Owner Type, CFArray?, Unsafe Mutable Pointer<Unmanaged<CFError>?>?) -> Sec Access?
Creates a new access instance using the owner and ACL entries you provide.
typealias Sec Access Owner Type
A type for flags that enable you to configure ACL ownership.
Flags that enable you to configure ACL ownership.
func Sec Access Get Type ID() -> CFType ID
Returns the unique identifier of the opaque type to which an access instance belongs.