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.