Crt file NSStream

How to use crt file in nsstream api?

What do you mean by “crt file”?

The two common expansions that spring to mind are cathode ray tube and C runtime, neither of which seems particularly relevant (-:

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

OK, so, from your other thread it seems that you’re referring to a certificate of some form. That suggests you’re using NSStream for TLS over TCP. If so, please don’t. The underlying stream implementation, CFSocketStream, has been deprecated in favour of Network framework and that’s where all our effort is going. For example, Network framework supports TLS 1.3 but CFSocketStream does not.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Crt file NSStream
 
 
Q