|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SslConnector
The interface for SSL connectors and their configuration methods.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle |
---|
LifeCycle.Listener |
Field Summary | |
---|---|
static String |
DEFAULT_KEYSTORE
Default value for the keystore location path. |
static String |
DEFAULT_KEYSTORE_ALGORITHM
|
static String |
DEFAULT_TRUSTSTORE_ALGORITHM
|
static String |
KEYPASSWORD_PROPERTY
String name of key password property. |
static String |
PASSWORD_PROPERTY
String name of keystore password property. |
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle |
---|
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
Field Detail |
---|
static final String DEFAULT_KEYSTORE_ALGORITHM
static final String DEFAULT_TRUSTSTORE_ALGORITHM
static final String DEFAULT_KEYSTORE
static final String KEYPASSWORD_PROPERTY
static final String PASSWORD_PROPERTY
Method Detail |
---|
String[] getExcludeCipherSuites()
SSLEngine.setEnabledCipherSuites(String[])
void setExcludeCipherSuites(String[] cipherSuites)
cipherSuites
- The array of Ciphersuite names to exclude from
SSLEngine.setEnabledCipherSuites(String[])
String[] getIncludeCipherSuites()
SSLEngine.setEnabledCipherSuites(String[])
void setIncludeCipherSuites(String[] cipherSuites)
cipherSuites
- The array of Ciphersuite names to include in
SSLEngine.setEnabledCipherSuites(String[])
void setPassword(String password)
password
- The password for the key storevoid setTrustPassword(String password)
password
- The password for the trust storevoid setKeyPassword(String password)
password
- The password (if any) for the specific key within
the key storeString getProtocol()
SSLContext.getInstance(String, String)
void setProtocol(String protocol)
protocol
- The SSL protocol (default "TLS") passed to SSLContext.getInstance(String, String)
void setKeystore(String keystore)
keystore
- The file or URL of the SSL Key store.String getKeystore()
String getKeystoreType()
boolean getNeedClientAuth()
SSLEngine.getNeedClientAuth()
boolean getWantClientAuth()
SSLEngine.getWantClientAuth()
void setNeedClientAuth(boolean needClientAuth)
needClientAuth
- True if SSL needs client authentication.SSLEngine.getNeedClientAuth()
void setWantClientAuth(boolean wantClientAuth)
wantClientAuth
- True if SSL wants client authentication.SSLEngine.getWantClientAuth()
void setKeystoreType(String keystoreType)
keystoreType
- The type of the key store (default "JKS")String getProvider()
SSLContext.getInstance(String, String)
String getSecureRandomAlgorithm()
SecureRandom.getInstance(String)
to obtain the SecureRandom
instance passed to SSLContext.init(javax.net.ssl.KeyManager[], javax.net.ssl.TrustManager[], SecureRandom)
String getSslKeyManagerFactoryAlgorithm()
KeyManagerFactory
String getSslTrustManagerFactoryAlgorithm()
TrustManagerFactory
String getTruststore()
String getTruststoreType()
void setProvider(String provider)
provider
- The SSL provider name, which if set is passed to
SSLContext.getInstance(String, String)
void setSecureRandomAlgorithm(String algorithm)
algorithm
- The algorithm name, which if set is passed to
SecureRandom.getInstance(String)
to obtain the SecureRandom
instance passed to SSLContext.init(javax.net.ssl.KeyManager[], javax.net.ssl.TrustManager[], SecureRandom)
void setSslKeyManagerFactoryAlgorithm(String algorithm)
algorithm
- The algorithm name (default "SunX509") used by
the KeyManagerFactory
void setSslTrustManagerFactoryAlgorithm(String algorithm)
algorithm
- The algorithm name (default "SunX509") used by the TrustManagerFactory
void setTruststore(String truststore)
truststore
- The file name or URL of the trust store locationvoid setTruststoreType(String truststoreType)
truststoreType
- The type of the trust store (default "JKS")void setSslContext(SSLContext sslContext)
sslContext
- Set a preconfigured SSLContextSSLContext getSslContext()
boolean isAllowRenegotiate()
void setAllowRenegotiate(boolean allowRenegotiate)
allowRenegotiate
- true if re-negotiation is allowed (default false)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |