Global Variable

kSecReturnRef

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

Declaration

const CFStringRef kSecReturnRef;

Discussion

The corresponding value is of type CFBooleanRef. A value of kCFBooleanTrue indicates that a reference should be returned. Depending on the item class requested, the returned references may be of type SecKeychainItemRef, SecKeyRef, SecCertificateRef, SecIdentityRef, or CFDataRef.

See Also

Item Result Keys

kSecReturnData

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

kSecReturnAttributes

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

kSecReturnPersistentRef

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