|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SslEngineConfigurator
Optional interface to allow configuring the SSLEngine for use.
| Method Summary | |
|---|---|
void |
configureSslEngine(SSLEngine engine)
Configures the SSLEngine. |
void |
init(SSLContext context)
Invoked to have this SslEngineConfigurator initialise itself. |
| Method Detail |
|---|
void init(SSLContext context)
throws Exception
SslEngineConfigurator initialise itself.
context - SSLContext that will be used to create the
SSLEngine instances.
Exception - If fails to initialise (possibly because a protocol or cipher
is not supported).void configureSslEngine(SSLEngine engine)
Configures the SSLEngine.
It is anticipated that only a single instance will be create and therefore this method will be thread safe.
engine - SSLEngine to configure.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||