|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SSLConfigurable
An object that has configurable SSL parameters.
This interface allows us o decouple the SSLParametersConfiguration
from SSLSocket and SSLServerSocket to facilitate unit
testing.
| Method Summary | |
|---|---|
String[] |
getDefaultCipherSuites()
Gets the set of cipher suites that the SSL component enables by default. |
String[] |
getDefaultProtocols()
Gets the set of protocols that the SSL component enables by default. |
String[] |
getSupportedCipherSuites()
Gets the set of cipher suites that the SSL component supports. |
String[] |
getSupportedProtocols()
Gets the set of protocols that the SSL component supports. |
void |
setEnabledCipherSuites(String[] cipherSuites)
Sets the enabled cipher suites on the SSL component. |
void |
setEnabledProtocols(String[] protocols)
Sets the enabled protocols on the SSL component. |
void |
setNeedClientAuth(boolean state)
Sets a flag indicating whether the SSL component should require client authentication. |
void |
setWantClientAuth(boolean state)
Sets a flag indicating whether the SSL component should request client authentication. |
| Method Detail |
|---|
String[] getDefaultProtocols()
getSupportedProtocols()); the return value may be
an empty array but must never be null.String[] getSupportedProtocols()
null.void setEnabledProtocols(String[] protocols)
cipherSuites - the protocols to enableString[] getDefaultCipherSuites()
getSupportedCipherSuites()); the return value may be
an empty array but must never be nullString[] getSupportedCipherSuites()
nullvoid setEnabledCipherSuites(String[] cipherSuites)
cipherSuites - the cipher suites to enablevoid setNeedClientAuth(boolean state)
state - the flag state to setvoid setWantClientAuth(boolean state)
state - the flag state to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||