public class TestDTLSClientExchange extends Object
| Constructor and Description | 
|---|
| TestDTLSClientExchange() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | DefaultEchoTest()Tests a successful exchange between the client and a server using the default DTLS protocol ( DTLSContext
 instance is created with DTLSContext.getDefaultDTLSInstance()). | 
| static void | DTLSv1_2EchoTest()Tests a successful exchange between the client and a server using the DTLSv2 protocol. | 
| static void | DTLSv1EchoTest()Tests a successful exchange between the client and a server using the DTLSv1 protocol. | 
| static void | init()Initialization method of DTLSClientExchangeTest tests. | 
public static void DefaultEchoTest()
                            throws IOException,
                                   GeneralSecurityException
IOException - if an exception occurred while loading resources or while connecting with the server.GeneralSecurityException - if an exception occurred while creating the SSL context.public static void DTLSv1_2EchoTest()
                             throws IOException,
                                    GeneralSecurityException
IOException - if an exception occurred while loading resources or while connecting with the server.GeneralSecurityException - if an exception occurred while creating the SSL context.public static void DTLSv1EchoTest()
                           throws IOException,
                                  GeneralSecurityException
IOException - if an exception occurred while loading resources or while connecting with the server.GeneralSecurityException - if an exception occurred while creating the SSL context.public static void init()