Re: Obtaining proxy authentication info
Re: Obtaining proxy authentication info
- Subject: Re: Obtaining proxy authentication info
- From: Frederick Cheung <email@hidden>
- Date: Mon, 27 Oct 2003 16:04:39 +0000
On Sunday, Oct 26, 2003, at 18:37 Europe/London, Ryan McGann wrote:
On Oct 26, 2003, at 8:59 AM, Frederick Cheung wrote:
Have you checked the Keychain?
I don't have Panther ... so I'm just guessing.
Good guess. Thanks for the info!
How does one actually do this? I'm guessing that
kSecProtocolTypeHTTPProxy is what I want, but i can't get it to work
SecKeychainFindInternetPassword always returns -25300 (item not
found), but I can see the info in the Keychain access app.
You can't use SecKeychainFindInternetPassword because that requires
you to know the account name before hand. You need to use the Keychain
Search APIs to create a search for the protocol type
kSecProtocolTypeHTTPProxy.
Thanks, that works fine.
Fred
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.