|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.anteater.util.SSLUtils
SSL utility methods. Primarily for creating SSL sockets via JSSE factories. Implements HTTP-over-SSL tunnelling (proxy support)
Method Summary | |
static Socket |
createProxySocket(String host,
int port,
String proxyHost,
int proxyPort)
Create a SSL socket tunnelled through another. |
static Socket |
createSocket(String host,
int port)
Create a normal SSL socket. |
static javax.net.ssl.SSLSocketFactory |
getSSLSocketFactory()
Initializes an SSLSocketFactory which ignores most Certificate validation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Socket createSocket(String host, int port) throws IOException
IOException
public static Socket createProxySocket(String host, int port, String proxyHost, int proxyPort) throws IOException
IOException
public static javax.net.ssl.SSLSocketFactory getSSLSocketFactory() throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |