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.

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