Retrieves the data of a trusted app instance.
- macOS 10.0–10.15Deprecated
A result code. See Security Framework Result Codes.
The trusted app instance created by the
Sec method includes data that uniquely identifies the app, such as a cryptographic hash of the app. The operating system uses this data to verify that the app is unaltered since the trusted app instance was created. When an app requests access to an item in the keychain for which it is designated as a trusted app, the operating system checks this data before granting access.
Sec function to extract this data from the trusted app instance for storage or for transmission over the network. Use the
Sec function to insert that data back into a trusted app instance. Note that this data is opaque: there’s no way to interpret it.