• 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
Re: SSL NSURLConnection to fake-cert server?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SSL NSURLConnection to fake-cert server?


  • Subject: Re: SSL NSURLConnection to fake-cert server?
  • From: Rick Mann <email@hidden>
  • Date: Tue, 20 Mar 2012 11:16:12 -0700

On Mar 20, 2012, at 10:53 , Jens Alfke wrote:

>
> On Mar 19, 2012, at 10:16 PM, Rick Mann wrote:
>
>> What do I need to do to? I'm using
>> -sendAsynchronousRequest:queue:completionHandler:
>> So I can't set a delegate.
>
> If you want more control over credentials and certificate trust, you’ll need to use the delegate API.

I had written a fairly elaborate wrapper around the delegate-based API so I could use blocks in a way similar to what the new call provides.

It also returned the NSURLConnection object, and allowed canceling of a request. But I always felt like it was messy and possibly contained bugs; I was pretty happy to see Apple add their API (even if I couldn't use it to cancel a request). I just wish they'd thought it through a bit more.

--
Rick


>
> —Jens
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: SSL NSURLConnection to fake-cert server?
      • From: Jens Alfke <email@hidden>
References: 
 >SSL NSURLConnection to fake-cert server? (From: Rick Mann <email@hidden>)
 >Re: SSL NSURLConnection to fake-cert server? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: How to get max size of view according to constraints?
  • Next by Date: Re: How to get max size of view according to constraints?
  • Previous by thread: Re: SSL NSURLConnection to fake-cert server?
  • Next by thread: Re: SSL NSURLConnection to fake-cert server?
  • Index(es):
    • Date
    • Thread