org.semanticdesktop.aperture.security.socketfactory.standard
Class StandardSocketFactory
java.lang.Object
javax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
org.semanticdesktop.aperture.security.socketfactory.standard.StandardSocketFactory
public class StandardSocketFactory
- extends SSLSocketFactory
A SSLSocketFactory implementation that uses a StandardTrustManager as its TrustManager implementation.
Method Summary |
Socket |
createSocket()
|
Socket |
createSocket(InetAddress host,
int port)
|
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort)
|
Socket |
createSocket(Socket socket,
String host,
int port,
boolean flag)
|
Socket |
createSocket(String host,
int port)
|
Socket |
createSocket(String host,
int port,
InetAddress localHost,
int localPort)
|
static SocketFactory |
getDefault()
|
String[] |
getDefaultCipherSuites()
|
String[] |
getSupportedCipherSuites()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardSocketFactory
public StandardSocketFactory()
getDefault
public static SocketFactory getDefault()
createSocket
public Socket createSocket()
throws IOException
- Overrides:
createSocket
in class SocketFactory
- Throws:
IOException
createSocket
public Socket createSocket(Socket socket,
String host,
int port,
boolean flag)
throws IOException
- Specified by:
createSocket
in class SSLSocketFactory
- Throws:
IOException
createSocket
public Socket createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort)
throws IOException
- Specified by:
createSocket
in class SocketFactory
- Throws:
IOException
createSocket
public Socket createSocket(InetAddress host,
int port)
throws IOException
- Specified by:
createSocket
in class SocketFactory
- Throws:
IOException
createSocket
public Socket createSocket(String host,
int port,
InetAddress localHost,
int localPort)
throws IOException
- Specified by:
createSocket
in class SocketFactory
- Throws:
IOException
createSocket
public Socket createSocket(String host,
int port)
throws IOException
- Specified by:
createSocket
in class SocketFactory
- Throws:
IOException
getDefaultCipherSuites
public String[] getDefaultCipherSuites()
- Specified by:
getDefaultCipherSuites
in class SSLSocketFactory
getSupportedCipherSuites
public String[] getSupportedCipherSuites()
- Specified by:
getSupportedCipherSuites
in class SSLSocketFactory
Copyright © 2010 Aperture Development Team. All Rights Reserved.