• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Modify keychains with Keychain Services
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NSDocumentController singleton problem, part 2
  • Next by Date: Re: System information
  • Previous by thread: Re: NSDocumentController singleton problem, part 2
  • Next by thread: Dragging inside NSTableView leaks memory?
  • Index(es):
    • Date
    • Thread