FROM : Michael Fenske
DATE : Fri Jan 03 22:33:09 2003
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_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.
DATE : Fri Jan 03 22:33:09 2003
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_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 mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

