|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgoldengate.common.crypto.ssl.GgSslContextFactory
public class GgSslContextFactory

SSL ContextFactory for Netty.
| Constructor Summary | |
|---|---|
GgSslContextFactory(GgSecureKeyStore ggSecureKeyStore)
Create both CONTEXT |
|
GgSslContextFactory(GgSecureKeyStore ggSecureKeyStore,
boolean serverMode)
Create only one of the CONTEXT |
|
| Method Summary | |
|---|---|
SSLContext |
getClientContext()
|
SSLContext |
getServerContext()
|
org.jboss.netty.handler.ssl.SslHandler |
initPipelineFactory(boolean serverMode,
boolean needClientAuth,
boolean renegotiationEnable,
ExecutorService executorService)
To be called before adding as first entry in the PipelineFactory as pipeline.addLast("ssl", sslhandler); |
boolean |
needClientAuthentication()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GgSslContextFactory(GgSecureKeyStore ggSecureKeyStore)
ggSecureKeyStore -
public GgSslContextFactory(GgSecureKeyStore ggSecureKeyStore,
boolean serverMode)
ggSecureKeyStore - serverMode - | Method Detail |
|---|
public SSLContext getServerContext()
public SSLContext getClientContext()
public org.jboss.netty.handler.ssl.SslHandler initPipelineFactory(boolean serverMode,
boolean needClientAuth,
boolean renegotiationEnable,
ExecutorService executorService)
serverMode - True if in Server Mode, else False in Client modeneedClientAuth - True if the client needs to be authenticated (only if serverMode is True)renegotiationEnable - True if you want to enable renegotiation (security issue CVE-2009-3555)executorService - if not Null, gives a specific executorService
public boolean needClientAuthentication()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||