public class SslConfig extends Object
Modifier and Type | Field and Description |
---|---|
static int |
PROTOCOL_DTLS_1_0
DTLS version 1.0.
|
static int |
PROTOCOL_DTLS_1_2
DTLS version 1.2.
|
static int |
PROTOCOL_TLS_1_0
TLS version 1.0.
|
static int |
PROTOCOL_TLS_1_1
TLS version 1.1.
|
static int |
PROTOCOL_TLS_1_2
TLS version 1.2.
|
Constructor and Description |
---|
SslConfig(short protocol)
Instantiates an SSL configuration.
|
public static final int PROTOCOL_DTLS_1_0
public static final int PROTOCOL_DTLS_1_2
public static final int PROTOCOL_TLS_1_0
public static final int PROTOCOL_TLS_1_1
public static final int PROTOCOL_TLS_1_2