public final class SSLFactory
extends java.lang.Object
Constructor and Description |
---|
SSLFactory() |
Modifier and Type | Method and Description |
---|---|
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
|
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
Copyright © 2014 The Apache Software Foundation