Re: kCFStreamPropertySSLPeerCertificates issue
Re: kCFStreamPropertySSLPeerCertificates issue
- Subject: Re: kCFStreamPropertySSLPeerCertificates issue
- From: Jens Alfke <email@hidden>
- Date: Wed, 07 Aug 2013 18:17:41 -0700
In other words, you get the kCFStreamPropertySSLPeerTrust property, cast the result to a SecTrustRef, and call SecTrustEvaluate on that. (And you’ll need to link against Security.framework.)
—Jens So that means I should use kCFStreamPropertySSLPeerTrust to replace kCFStreamPropertySSLPeerCertificates?
It doesn’t replace it; it returns a SecTrustRef not an array. As I said, you’ll need to call SecTrustEvaluate afterwards to get the certificate chain.
—Jens |
_______________________________________________
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