NZSmartie / CoAP.Net

Constrained Applciaiton Protocol (CoAP) [RFC7252] for .Net Standard
https://nzsmartie.co.nz/CoAP.Net/
Apache License 2.0
34 stars 11 forks source link

add DTLS support, upgrade packages, remove obsolete .NET Framework #22

Closed patagonaa closed 3 years ago

patagonaa commented 3 years ago

This adds DTLS support (fixes #5), including examples for both server and client. This should work with certificate-based authentification/encryption and TLS-PSK, but only TLS-PSK has been tested.

Also, some NuGet packages were upgraded and .NET Core 2.0 support was either removed (for libraries) or replaced by .NET 5.0 (for executables), as .NET Core 2.0 is no longer supported by Microsoft.

NZSmartie commented 3 years ago

It looks good to me, I'm impressed with the readability of the implementation. It has also added doubt to some of the API design that I've provided. I'll get a version published soon and then work on implementing tests, plus certificate based connections for more more complete DTLS support.

Thank you very much!