dart_tinydtls 3.1.0 copy "dart_tinydtls: ^3.1.0" to clipboard
dart_tinydtls: ^3.1.0 copied to clipboard

Dart ffi bindings to the tinydtls library. Provides wrappers for both a DTLS client and server.

3.1.0 #

  • feat: throw DtlsExceptions instead of StateErrors on error
  • fix!: don't throw StateErrors for unknown alert parameters

3.0.0 #

This version contains breaking API changes.

  • fix!: use Uint8List instead of String for PSKCredentials
  • feat!: let client and server handle fatal DTLS alerts

2.0.0 #

  • Refactored handling of ECDSA keys and DTLS events using enhanced enums
  • Increased minimum required Dart SDK version to 2.17

1.0.1 #

  • Added missing override of the toString() method to TinyDtlsLoadException

1.0.0 #

New Features #

  • Added getters for closed class members to client and server
  • Changed parameters of credentials constructors to named ones
  • Replaced pskCredentials parameter of DtlsClient constructor with callback
  • Added callback for indicating PSK identity hints to DtlsServer class

Bugfixes #

  • Fixed bug that prevented the use of ECDSA keys with the DtlsServer

Other Changes #

  • Improved documentation of library and DtlsConnection class

0.5.0 #

  • Reworked and fixed the internal mechanism for finding tinyDTLS binaries

0.4.1 #

  • Applied minor refactorings and style changes

0.4.0 #

  • The DtlsClient and DtlsServer should now handle connections closed by the peer correctly
  • When generating bindings, CPATH is now used in place of -I compiler option to find headers

0.3.0 #

  • Reworked server API using a generic DtlsConnection interface
  • Improved documentation

0.2.1 #

  • Expanded package description in pubspec.yaml

0.2.0 #

  • Refactored tests and example
  • Renamed the data field of the DtlsServerEvent class to datagram

0.1.0 #

  • Initial version.
3
likes
100
pub points
16%
popularity

Publisher

verified publishernamib.me

Dart ffi bindings to the tinydtls library. Provides wrappers for both a DTLS client and server.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

collection, ffi

More

Packages that depend on dart_tinydtls