|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.security.SSLFactory
public final class SSLFactory
A Factory for providing and setting up Client and Server SSL wrapped Socket and ServerSocket
Constructor Summary | |
---|---|
SSLFactory()
|
Method Summary | |
---|---|
static javax.net.ssl.SSLContext |
createSSLContext(EncryptionOptions options,
boolean buildTruststore)
|
static javax.net.ssl.SSLServerSocket |
getServerSocket(EncryptionOptions options,
java.net.InetAddress address,
int port)
|
static javax.net.ssl.SSLSocket |
getSocket(EncryptionOptions options)
Just create a socket |
static javax.net.ssl.SSLSocket |
getSocket(EncryptionOptions options,
java.net.InetAddress address,
int port)
Create a socket and connect, using any local address |
static javax.net.ssl.SSLSocket |
getSocket(EncryptionOptions options,
java.net.InetAddress address,
int port,
java.net.InetAddress localAddress,
int localPort)
Create a socket and connect |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSLFactory()
Method Detail |
---|
public static javax.net.ssl.SSLServerSocket getServerSocket(EncryptionOptions options, java.net.InetAddress address, int port) throws java.io.IOException
java.io.IOException
public static javax.net.ssl.SSLSocket getSocket(EncryptionOptions options, java.net.InetAddress address, int port, java.net.InetAddress localAddress, int localPort) throws java.io.IOException
java.io.IOException
public static javax.net.ssl.SSLSocket getSocket(EncryptionOptions options, java.net.InetAddress address, int port) throws java.io.IOException
java.io.IOException
public static javax.net.ssl.SSLSocket getSocket(EncryptionOptions options) throws java.io.IOException
java.io.IOException
public static javax.net.ssl.SSLContext createSSLContext(EncryptionOptions options, boolean buildTruststore) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |