public class SSLOptions extends Object
Modifier and Type | Field and Description |
---|---|
static String[] |
DEFAULT_SSL_CIPHER_SUITES
The default SSL cipher suites.
|
Constructor and Description |
---|
SSLOptions()
Creates default SSL options.
|
SSLOptions(SSLContext context,
String[] cipherSuites)
Creates SSL options that uses the provided SSL context and cipher suites.
|
public static final String[] DEFAULT_SSL_CIPHER_SUITES
public SSLOptions()
The resulting options will use the default JSSE options, and you can use the default JSSE System properties to customize it's behavior. This may in particular involve creating a simple keyStore and trustStore.
The cipher suites used by this default instance are the one defined by
DEFAULT_SSL_CIPHER_SUITES
and match the default cipher suites
supported by Cassandra server side.
public SSLOptions(SSLContext context, String[] cipherSuites)
context
- the SSLContext
to use.cipherSuites
- the cipher suites to use.Copyright © 2014. All Rights Reserved.