Global Variable

kSecAttrGeneric

A key whose value indicates the item's user-defined attributes.

Declaration

let kSecAttrGeneric: CFString

Discussion

The corresponding value is of type CFData and contains a user-defined attribute. Items of class kSecClassGenericPassword have this attribute.

See Also

Password Attribute Keys

let kSecAttrAccount: CFString

A key whose value is a string indicating the item's account name.

let kSecAttrService: CFString

A key whose value is a string indicating the item's service.

let kSecAttrSecurityDomain: CFString

A key whose value is a string indicating the item's security domain.

let kSecAttrServer: CFString

A key whose value is a string indicating the item's server.

let kSecAttrProtocol: CFString

A key whose value indicates the item's protocol.

let kSecAttrAuthenticationType: CFString

A key whose value indicates the item's authentication scheme.

let kSecAttrPort: CFString

A key whose value indicates the item's port.

let kSecAttrPath: CFString

A key whose value is a string indicating the item's path attribute.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software