38 @abstract Creates a new iTools password using the access control list from iToolsTrustedApps.plist.
39 @param keychain A reference to the keychain to which to add the password. Pass NULL to add the password to the default keychain.
40 @param accountNameLength The length of the buffer pointed to by accountName.
41 @param accountName A pointer to a string containing the account name associated with this password.
42 @param passwordLength The length of the buffer pointed to by passwordData.
43 @param passwordData A pointer to a buffer containing the password data to be stored in the keychain.
44 @param itemRef On return, a reference to the new keychain item.
45 @result A result code. See "Security Error Codes" (SecBase.h).
46 @discussion The SecKeychainAddIToolsPassword function adds a new iTools password to the specified keychain with an ACL composed of a list of trusted applications. A required parameter to identify the password is the accountName, which is an application-defined string. The servicename will always be "iTools". SecKeychainAddIToolsPassword optionally returns a reference to the newly added item.