Read/write proxy authentication info into keychain
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