|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecureSelector<E>
Non blocking SSL interface secure instance of SelectorThread must implement.
Method Summary | |
---|---|
String[] |
getEnabledCipherSuites()
Returns the list of cipher suites to be enabled when SSLEngine
is initialized. |
String[] |
getEnabledProtocols()
Returns the list of protocols to be enabled when SSLEngine
is initialized. |
boolean |
isClientMode()
Returns true if the SSlEngine is set to use client mode when handshaking. |
boolean |
isNeedClientAuth()
Returns true if the SSLEngine will require client authentication. |
boolean |
isWantClientAuth()
Returns true if the engine will request client authentication. |
void |
setClientMode(boolean clientMode)
Configures the engine to use client (or server) mode when handshaking. |
void |
setEnabledCipherSuites(String[] enabledCipherSuites)
Sets the list of cipher suites to be enabled when SSLEngine
is initialized. |
void |
setEnabledProtocols(String[] enabledProtocols)
Sets the list of protocols to be enabled when SSLEngine
is initialized. |
void |
setNeedClientAuth(boolean needClientAuth)
Configures the engine to require client authentication. |
void |
setSSLImplementation(E sslImplementation)
|
void |
setWantClientAuth(boolean wantClientAuth)
Configures the engine to request client authentication. |
Method Detail |
---|
void setSSLImplementation(E sslImplementation)
String[] getEnabledCipherSuites()
SSLEngine
is initialized.
SSLEngine
's default.'void setEnabledCipherSuites(String[] enabledCipherSuites)
SSLEngine
is initialized.
cipherSuites
- null means 'use SSLEngine
's default.'String[] getEnabledProtocols()
SSLEngine
is initialized.
SSLEngine
's default.'void setEnabledProtocols(String[] enabledProtocols)
SSLEngine
is initialized.
protocols
- null means 'use SSLEngine
's default.'boolean isClientMode()
void setClientMode(boolean clientMode)
boolean isNeedClientAuth()
void setNeedClientAuth(boolean needClientAuth)
boolean isWantClientAuth()
void setWantClientAuth(boolean wantClientAuth)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |