|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SslConfiguration
SSL configuration
Method Summary | |
---|---|
ClientAuth |
getClientAuth()
Return the required client authentication setting |
java.lang.String[] |
getEnabledCipherSuites()
Returns the cipher suites that should be enabled for this connection. |
javax.net.ssl.SSLContext |
getSSLContext()
Return the SSL context for this configuration |
javax.net.ssl.SSLContext |
getSSLContext(java.lang.String protocol)
Return the SSL context for this configuration given the specified protocol |
Method Detail |
---|
javax.net.ssl.SSLContext getSSLContext() throws java.security.GeneralSecurityException
SSLContext
java.security.GeneralSecurityException
javax.net.ssl.SSLContext getSSLContext(java.lang.String protocol) throws java.security.GeneralSecurityException
protocol
- The protocol, SSL or TLS must be supported
SSLContext
java.security.GeneralSecurityException
java.lang.String[] getEnabledCipherSuites()
ClientAuth getClientAuth()
ClientAuth.NEED
if client authentication is required,
ClientAuth.WANT
is client authentication is wanted or
ClientAuth.NONE
if no client authentication is the be
performed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |