dtls2 0.2.1 copy "dtls2: ^0.2.1" to clipboard
dtls2: ^0.2.1 copied to clipboard

DTLS provides datagram socket encryption. Implemented using OpenSSL over FFI.

dtls2 #

DTLS provides datagram socket encryption. Implemented using OpenSSL over FFI. This package supports native platforms only, because there are no datagram sockets on Web. It is based on the dtls package which was discontinued by its maintainers.

Features #

Currently, only the client side is implemented.

Getting started #

libssl (OpenSSL) needs to be available.

  • On Android and iOS, libssl has to be bundled with the app.
  • On Linux, libssl is preinstalled or available in most distributions.
  • On Windows, libssl 1.1.1 (libssl-1_1-x64.dll) needs to be installed or bundled with the application

Usage #

First, create a DtlsClientContext. Then, create a DtlsClientConnection for each encrypted connection.

5
likes
0
pub points
35%
popularity

Publisher

unverified uploader

DTLS provides datagram socket encryption. Implemented using OpenSSL over FFI.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi

More

Packages that depend on dtls2