5

I am thinking of writing an Apple Push Notification server using Dart. Does Dart support client side SSL/TLS certificates?

2 Answers2

2

Yes! Dart VM now supports SSL/TLS, and HTTPS.

See http://code.google.com/p/dart/issues/detail?id=3950 and http://code.google.com/p/dart/issues/detail?id=3593 which are now closed. :)

Seth Ladd
  • 112,095
  • 66
  • 196
  • 279
1

Dart supports SSL/TLS client connections using SecureSocket. It also supports secure server sockets using SecureServerSocket to (use this if you need to listen on a secure port on the VM).

Note that the ordinary HttpClient will automatically handle HTTPS for your browser connections so no extra code is needed in these cases.

Lars Tackmann
  • 20,275
  • 13
  • 66
  • 83