|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.datastax.driver.core.SSLOptions
public class SSLOptions
Options to provide to enable SSL connections.
Field Summary | |
---|---|
static String[] |
DEFAULT_SSL_CIPHER_SUITES
The default SSL cipher suites. |
Constructor Summary | |
---|---|
SSLOptions()
Creates default SSL options. |
|
SSLOptions(SSLContext context,
String[] cipherSuites)
Creates SSL options that uses the provided SSL context and cipher suites. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String[] DEFAULT_SSL_CIPHER_SUITES
Constructor Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |