pub unsafe extern "C-unwind" fn SecACLCreateWithSimpleContents(
access: &SecAccess,
application_list: Option<&CFArray>,
description: &CFString,
prompt_selector: SecKeychainPromptSelector,
new_acl: NonNull<*mut SecACL>,
) -> i32
👎Deprecated: SecKeychain is deprecated
Available on crate features
SecBase
and cssmconfig
and SecACL
only.Expand description
Creates a new access control list entry from the application list, description, and prompt selector provided and adds it to an item’s access.
Parameter access
: An access reference.
Parameter applicationList
: An array of SecTrustedApplication instances that will be allowed access without prompting.
Parameter description
: The human readable name that will be used to refer to this item when the user is prompted.
Parameter promptSelector
: A SecKeychainPromptSelector selector.
Parameter newAcl
: A pointer to an access control list entry. On return, this points to the reference of the new access control list entry.
Returns: A result code. See “Security Error Codes” (SecBase.h).