Global Variable

kSecReturnData

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

Declaration

const CFStringRef kSecReturnData;

Discussion

The corresponding value is of type CFBooleanRef. A value of kCFBooleanTrue indicates that the data of an item should be returned in the form of a CFDataRef object.

For keys and password items, data is secret (encrypted) and may require the user to enter a password for access. For key items, the resulting data has the same format as the return value of the function SecKeyCopyExternalRepresentation.

See Also

Item Result Keys

kSecReturnAttributes

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

kSecReturnRef

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

kSecReturnPersistentRef

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