Global Variable

kSecReturnRef

A key whose value is a Boolean indicating whether or not to return a reference to an item.

Declaration

let kSecReturnRef: CFString

Discussion

The corresponding value is of type CFBoolean. A value of kCFBooleanTrue indicates that a reference should be returned. Depending on the item class requested, the returned references may be of type SecKeychainItem, SecKey, SecCertificate, SecIdentity, or CFData.

See Also

Item Result Keys

let kSecReturnData: CFString

A key whose value is a Boolean indicating whether or not to return item data.

let kSecReturnAttributes: CFString

A key whose value is a Boolean indicating whether or not to return item attributes.

let kSecReturnPersistentRef: CFString

A key whose value is a Boolean indicating whether or not to return a persistent reference to an item.

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