DTLS

From air
Revision as of 13:23, 18 February 2016 by Donsez (talk | contribs) (Created page with "Datagram Transport Layer Security https://en.wikipedia.org/wiki/Datagram_Transport_Layer_Security provides communications security for datagram protocols to prevent eavesdrop...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Datagram Transport Layer Security https://en.wikipedia.org/wiki/Datagram_Transport_Layer_Security

provides communications security for datagram protocols to prevent eavesdropping, tampering, or message forgery.

API

Java

http://git.bouncycastle.org/repositories/bc-java


Node.js

Installer

git clone https://github.com/Rantanen/node-dtls.git
cd node-dtls/
npm install
cd example/

Générer un certificat

openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem

Exécuter

cp cert.pem server.pem
node throughput.js
^C