Re: Security with Streams
Re: Security with Streams
- Subject: Re: Security with Streams
- From: Jens Alfke <email@hidden>
- Date: Mon, 27 Jun 2016 00:05:36 -0700
> On Jun 26, 2016, at 11:30 PM, Gerriet M. Denkmann <email@hidden> wrote:
>
> Could it, instead of getting the SecIdentityRef from the keychain, just use MyServerCertificate.cer instead?
Nope. The server has to have a SecIdentityRef, because its side of the SSL handshake requires using the private key to sign data.
> And then the client would compare the certificate it receives with MyServerCertificate.cer and notice that these are different, thus closing the connection. (Correct ?)
If you’ve programmed the client to do that, yes.
—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