Modify keychains with Keychain Services
Modify keychains with Keychain Services
- Subject: Modify keychains with Keychain Services
- From: Michael Fenske <email@hidden>
- Date: Fri, 3 Jan 2003 22:33:09 +0100
Hello,
I have a problem with the keychain services. I try to save internet
passwords in the keychain. I do this this way:
osStatus = SecKeychainAddInternetPassword(NULL, [server length],
[server cString],
0, NULL, [name length], [name cString], 0, NULL, port,
kSecProtocolTypeNNTP, kSecAuthenticationTypeDefault,
[password length], [password cString], &itemRef);
Well, this works. But in the Utility "Keychain Access" the field 'Name'
shows the same as the field 'Account'. That's not what I want. I want
to save the passwords like Mail does. So, how can I modify the field
'Name'? I had no luck with
SecKeychainItemModifyAttributesAndData();
because, I don't know what is the right "Item Attribute Constant" to
modify.
Michael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.