java 9 DTLS support in early access release ?
Konstantin Shefov
k.s.shefov at gmail.com
Tue Apr 19 11:55:52 UTC 2016
Hi Mahesh
As an example you may take the following functional test:
http://hg.openjdk.java.net/jdk9/jdk9/jdk/file/6721ff11d592/test/javax/net/ssl/DTLS/DTLSOverDatagram.java
It creates client and server on the same host in the same JVM and tries to
exchange text messages between them via DatagramSocket, and then validates
that exchange is done correctly.
The implementation uses SSLEngine class to translate application data (text
message) to network (encrypted) data and vice-versa. DatagramSocket class
is used to send and receive the network data. A client-server handshake
also should be done separately before app data exchange.
All questions related to implementation of the SSLEngine class itself,
please, ask Xuelei Fan, who implemented the DTLS feature, he is in CC list
of this message.
Regards
-Konstantin
2016-04-19 13:57 GMT+03:00 Mahesh Govind <vu3mmg at gmail.com>:
> Hi Konstantin ,
>
> Could you please provide me pointers to an end to end example program
> using Java 9 DTLS APIs.
> I would like to use this implementation for Opendaylight (The open SDN
> project ).
>
> regards
> Mahesh
>
>
> On Sun, Apr 17, 2016 at 9:09 AM, Mahesh Govind <vu3mmg at gmail.com> wrote:
>
>> Hi Konstantin,
>>
>> Thank you for the information .
>> regards
>> Mahesh
>>
>>
>>
>> re
>>
>> On Sun, Apr 17, 2016 at 1:28 AM, Konstantin Shefov <k.s.shefov at gmail.com>
>> wrote:
>>
>>> Hi, Mahesh
>>>
>>> If you mean Datagram Transport Layer Security support, it is JEP 219
>>> http://openjdk.java.net/jeps/219
>>>
>>> It has been integrated in JDK 9 in June 2015 with changeset
>>> http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/6721ff11d592
>>>
>>> Functional unit tests for the feature were integrated in June 2015 in
>>> JDK 9 b69 with changeset
>>> http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/4d240482f37e
>>>
>>> So DTLS should be available in JDK 9 ea releases.
>>>
>>> Best regards
>>> Konstantin
>>>
>>>
>>> 2016-04-16 17:43 GMT+03:00 Mahesh Govind <vu3mmg at gmail.com>:
>>>
>>>> Hi ,
>>>> Could you please let me know whether DTLS support is available in
>>>> current
>>>> Java 9 early access releases .
>>>>
>>>> regards
>>>> Mahesh
>>>>
>>>
>>>
>>
>
More information about the jdk9-dev
mailing list