dtls

Datagram Transport Layer Security (DTLS) on Android/Java

醉酒当歌 提交于 2021-02-18 02:06:10
问题 Has anyone used DTLS on Android or is there an open source Java implementation that supports DTLS? What are my other options for securing UDP traffic on Android? 回答1: DTLS support is not available in pure Java yet. We ended up using OpenSSL through JNI. I doubt you will find anything on Android. You should use TLS (which means you have to use TCP). 回答2: wolfSSL recently created an open source JNI wrapper around the lightweight SSL/TLS library, CyaSSL. The wrapper supports both DTLS 1.0 and

Datagram Transport Layer Security (DTLS) on Android/Java

只谈情不闲聊 提交于 2021-02-18 02:03:08
问题 Has anyone used DTLS on Android or is there an open source Java implementation that supports DTLS? What are my other options for securing UDP traffic on Android? 回答1: DTLS support is not available in pure Java yet. We ended up using OpenSSL through JNI. I doubt you will find anything on Android. You should use TLS (which means you have to use TCP). 回答2: wolfSSL recently created an open source JNI wrapper around the lightweight SSL/TLS library, CyaSSL. The wrapper supports both DTLS 1.0 and

Datagram Transport Layer Security (DTLS) on Android/Java

我的梦境 提交于 2021-02-18 02:01:34
问题 Has anyone used DTLS on Android or is there an open source Java implementation that supports DTLS? What are my other options for securing UDP traffic on Android? 回答1: DTLS support is not available in pure Java yet. We ended up using OpenSSL through JNI. I doubt you will find anything on Android. You should use TLS (which means you have to use TCP). 回答2: wolfSSL recently created an open source JNI wrapper around the lightweight SSL/TLS library, CyaSSL. The wrapper supports both DTLS 1.0 and

Datagram Transport Layer Security (DTLS) on Android/Java

◇◆丶佛笑我妖孽 提交于 2021-02-18 02:01:12
问题 Has anyone used DTLS on Android or is there an open source Java implementation that supports DTLS? What are my other options for securing UDP traffic on Android? 回答1: DTLS support is not available in pure Java yet. We ended up using OpenSSL through JNI. I doubt you will find anything on Android. You should use TLS (which means you have to use TCP). 回答2: wolfSSL recently created an open source JNI wrapper around the lightweight SSL/TLS library, CyaSSL. The wrapper supports both DTLS 1.0 and

Datagram Transport Layer Security (DTLS) on Android/Java

∥☆過路亽.° 提交于 2021-02-18 02:00:58
问题 Has anyone used DTLS on Android or is there an open source Java implementation that supports DTLS? What are my other options for securing UDP traffic on Android? 回答1: DTLS support is not available in pure Java yet. We ended up using OpenSSL through JNI. I doubt you will find anything on Android. You should use TLS (which means you have to use TCP). 回答2: wolfSSL recently created an open source JNI wrapper around the lightweight SSL/TLS library, CyaSSL. The wrapper supports both DTLS 1.0 and

How do peers involved in a p2p communication authenticate each other?

自闭症网瘾萝莉.ら 提交于 2021-02-05 12:22:04
问题 How do peers in WebRTC authenticate each other? 回答1: DTLS in WebRTC uses self-signed certificates. RFC 5763 has the details, in a nutshell the certificate fingerprint is matched against the one provided in the a=fingerprint line of the SDP. 回答2: As the comment from Patrick Mevzek already mentioned: It doesn't depend on DTLS or TLS, if a self-signed certificate is trusted/accepted. This depends only from the peer's trusted certificates. If the client's or server's certificate path/chain

OpenSSL DTLS connection never establishes

♀尐吖头ヾ 提交于 2021-01-29 20:30:42
问题 I'm sorry for such a big block of code, but I'm so lost as to what is happening, I have no idea where the problem might be... I am trying to get a VERY minimal dtls server going and I can't get the client and server to finish handshaking. Here is my code: #include <stdio.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/time.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <pthread.h>

Difference between DTLS and TLS

房东的猫 提交于 2020-11-30 04:17:25
问题 What is the functional difference between TLS and DTLS? How does application flow/negotiation differ while using TLS vs DTLS? 回答1: Basically DTLS is to construct TLS over datagram (UDP, DCCP, etc.) DTLS is similar to TLS intentionally except that DTLS has to solve two problems: packet lost and reordering. DTLS implements packet retransmission assigning sequence number within the handshake replay detection. See RFC 6347 for details. 回答2: The idea is that DTLS is to TLS as UDP is to TCP, as

CoAP and DTLS integration

萝らか妹 提交于 2020-03-14 06:59:26
问题 I have implementation of CoAP (libcoap), and implementation of DTLS (tinyDTLS). How can I make integration CoAP (libcoap) with DTLS (tinyDTLS)? I will be grateful for the any advice. 回答1: Unfortunately, I don't have enough reputation to place a comment, even though this is not an answer. Here is my attempt to do the exact same thing, using the client-server examples from both libcoap and tinydtls. Feel free to fork the code, and please sumbit a pull request if you figure out why my client and