Returns an access credential for a key.
- macOS 10.0–10.7Deprecated
The key for which you want an access credential.
The type of operation to be performed with this key. Possible values are listed under “Authorization tag types” in
The type of credential requested. See
Secfor possible values.
On return, points to an access credential for the specified key. This pointer remains valid until the key reference is released. Do not attempt to modify or free this data.
A result code. See Security Framework Result Codes.
An access credential is required as an input to a number of CSSM functions.