|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static SSLWrapperFactory |
DUMB_WRAP
DUMB_WRAP is useful to make sure that wrapping the sockets doesn't break anything. |
static SSLWrapperFactory |
NO_WRAP
NO_WRAP doesn't wrap the SSLSocket. |
Method Summary | |
SSLServerSocket |
wrap(SSLServerSocket s,
SSL ssl)
Wraps an SSLServerSocket. |
SSLSocket |
wrap(SSLSocket s)
Wraps an SSLSSocket. |
Field Detail |
public static final SSLWrapperFactory NO_WRAP
public static final SSLWrapperFactory DUMB_WRAP
Method Detail |
public SSLSocket wrap(SSLSocket s) throws IOException
s
- SSLSocket to wrap.
IOException
- if wrapping failedpublic SSLServerSocket wrap(SSLServerSocket s, SSL ssl) throws IOException
s
- The SSLServerSocket to wrap.ssl
- The SSL object that created the SSLServerSocket.
This way some important commons-ssl config can be applied
to the returned socket.
IOException
- if wrapping failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |