• 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
CFNetwork support for SSL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFNetwork support for SSL


  • Subject: CFNetwork support for SSL
  • From: Jeff Heyob <email@hidden>
  • Date: Thu, 16 Dec 2004 11:24:08 -0500

Hi,

CFNetwork has been great in porting my old OpenTransport code into run-loops on OSX. I've seen some really good speed improvements. Now, I would like to that the next step and support SSL with my client-server application suite in moving large amounts of data across the internet. All of the sample code that I have been able to find is command line oriented and I can't see how to use it with the CFNetwork code that I have already in place.

The only thing that I can see from a CFNetwork point of view is to use:

CFWriteStreamSetProperty(outStream,kCFStreamPropertySocketSecurityLevel, kCFStreamSocketSecurityLevelNegotiatedSSL);

on my open pair of network streams, but this just causes an error=-9800 which is errSSLProtocol.

I really new at this and I need help from the SSL certificate creation and up. Any sample code that someone could direct me to would be greatly appreciated.
Thanks in advance,
Jeff


_______________________________________________
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: CFNetwork support for SSL
      • From: Jeremy Wyld <email@hidden>
  • Prev by Date: how to use: struct sockaddr
  • Next by Date: Re: Macnetworkprog Digest, Vol 1, Issue 74
  • Previous by thread: Re: how to use: struct sockaddr
  • Next by thread: Re: CFNetwork support for SSL
  • Index(es):
    • Date
    • Thread