Skip navigation.
 
mlSecond try: Modify keychains with Keychain Services
FROM : Michael Fenske
DATE : Wed Jan 08 23:04:57 2003

I have a problem with the keychain services. I want 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 if I look 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.

Who can help me?

Michael
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
No related mails found.