• 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
Read/write proxy authentication info into keychain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Read/write proxy authentication info into keychain


  • Subject: Read/write proxy authentication info into keychain
  • From: "Patrick Lee" <email@hidden>
  • Date: Thu, 9 Mar 2006 13:18:38 -0700
  • Thread-topic: Read/write proxy authentication info into keychain

Title: Read/write proxy authentication info into keychain

Hi,

I'm writing a HTTP tunneling application and I need to read and write proxy authentication info into keychain. I knew how to read account and password credentials from keychain with these code:

                SecKeychainAttribute attr;
                SecKeychainAttributeList attrList;
                UInt32 length;
                void *outData;
                               
                // Account name attribute
                attr.tag = kSecAccountItemAttr;
                attr.length = 0;
                attr.data = "">
                               
                attrList.count = 1;
                attrList.attr = &attr;

                error = SecKeychainItemCopyContent(itemRef, NULL, &attrList, &length, &outData);

When it comes to NTLM authentication, I also need to read the domain value. I'd tried kSecSecurityDomainItemAttr but it doesn't seem to work. Any idea?

Patrick

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Read/write proxy authentication info into keychain
      • From: Jim Luther <email@hidden>
  • Prev by Date: RE: Unscheduling CFReadStream from run loop
  • Next by Date: Re: Read/write proxy authentication info into keychain
  • Previous by thread: Re: SO_REUSEADDR
  • Next by thread: Re: Read/write proxy authentication info into keychain
  • Index(es):
    • Date
    • Thread