Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SSL certs and authentication ... again




On Jan 11, 2006, at 9:13 PM, Martin Redington wrote:

My question is this:

How can I enable digest auth for my connections? I can see lots of
useful looking methods in Open Transport, and somewhere in the docs it
seemed to say that CFSocket and friends were built on top of OT, so
you could drop down into that for lower level control.

I'm guessing that what I need to get is a way to get hold of, or
influence, the underlying SSLContext, but all I can see in CFNetwork
is the CFReadStreamSetProperty stuff.

If I am stuck with the CFNetwork level stuff, is there any good way
for me to handle the auth? In a pinch, I could implement some kind of
challenge response based on the shared secret, but this seems kind of
crazy and error-prone.

There is hopefully relevant sample code here, which claims to do "simple authentication (Basic and digest)":


http://developer.apple.com/samplecode/ImageClient/ImageClient.html

-ken

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/apple-cdsa/email@hidden

This email sent to email@hidden
References: 
 >SSL certs and authentication ... again (From: Martin Redington <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.