Retrieves the CSSM authorization tags of a given access control list entry.
- macOS 10.0–10.7Deprecated
An ACL object that identifies the access control list entry from which you wish to retrieve the authorization tags.
A pointer to an array of CSSM authorization tags. You must allocate this array before calling the function. On return, this array contains the authorization tags of the specified ACL entry.
On entry, points to the number of elements in the array you passed in the
tagsparameter. On return, points to the number of tags actually returned or, in the case of an overflow, the number of tags required.
A result code. See Security Framework Result Codes.
An ACL object includes a list of trusted applications (see
Sec), the name of the keychain item as it appears in user prompts, the prompt selector flag, and a list of one or more operations to which this ACL object applies. Use this function to retrieve the list of operations for an ACL object. Use the
Sec function to retrieve the other information.
Sec function returns an error if there are more tags to return than the number of elements you allocated in the
tags array. A 20-element array should suffice for most purposes; however, you can test for the
err error and increase the size of the array before calling the function again if necessary. Alternatively, you can call the function with a tag count of
0, read the value returned in the
tag parameter, and then call the function again using that value.
This function is deprecated in macOS 10.7 and later; use