|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ftpserver.ssl.impl.DefaultSslConfiguration
public class DefaultSslConfiguration
Internal class, do not use directly. Used to configure the SSL settings for the control channel or the data channel. Internal class, do not use directly.
| Constructor Summary | |
|---|---|
DefaultSslConfiguration(javax.net.ssl.KeyManagerFactory keyManagerFactory,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
ClientAuth clientAuthReqd,
java.lang.String sslProtocol,
java.lang.String[] enabledCipherSuites,
java.lang.String keyAlias)
Internal constructor, do not use directly. |
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSslConfiguration(javax.net.ssl.KeyManagerFactory keyManagerFactory,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
ClientAuth clientAuthReqd,
java.lang.String sslProtocol,
java.lang.String[] enabledCipherSuites,
java.lang.String keyAlias)
SslConfigurationFactory
| Method Detail |
|---|
public javax.net.ssl.SSLContext getSSLContext(java.lang.String protocol)
throws java.security.GeneralSecurityException
SslConfiguration
getSSLContext in interface SslConfigurationprotocol - The protocol, SSL or TLS must be supported
SSLContext
java.security.GeneralSecurityExceptionSslConfiguration.getSSLContext(String)public ClientAuth getClientAuth()
SslConfiguration
getClientAuth in interface SslConfigurationClientAuth.NEED if client authentication is required,
ClientAuth.WANT is client authentication is wanted or
ClientAuth.NONE if no client authentication is the be
performedSslConfiguration.getClientAuth()
public javax.net.ssl.SSLContext getSSLContext()
throws java.security.GeneralSecurityException
SslConfiguration
getSSLContext in interface SslConfigurationSSLContext
java.security.GeneralSecurityExceptionSslConfiguration.getSSLContext()public java.lang.String[] getEnabledCipherSuites()
SslConfiguration
getEnabledCipherSuites in interface SslConfigurationSslConfiguration.getEnabledCipherSuites()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||