Package org.eclipse.jetty.util.ssl
Class SslContextFactory.Client
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.ssl.SslContextFactory
-
- org.eclipse.jetty.util.ssl.SslContextFactory.Client
-
- Enclosing class:
- SslContextFactory
public static class SslContextFactory.Client extends SslContextFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SslContextFactory.Client.SniProvider
A provider for SNI names to send to the server during the TLS handshake.-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.ssl.SslContextFactory
SslContextFactory.AliasSNIMatcher, SslContextFactory.Client, SslContextFactory.Server, SslContextFactory.X509ExtendedKeyManagerWrapper, SslContextFactory.X509ExtendedTrustManagerWrapper
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
-
Field Summary
Fields Modifier and Type Field Description private SslContextFactory.Client.SniProvider
sniProvider
-
Fields inherited from class org.eclipse.jetty.util.ssl.SslContextFactory
DEFAULT_KEYMANAGERFACTORY_ALGORITHM, DEFAULT_TRUSTMANAGERFACTORY_ALGORITHM, KEYPASSWORD_PROPERTY, PASSWORD_PROPERTY, TRUST_ALL_CERTS
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkConfiguration()
void
customize(javax.net.ssl.SSLEngine sslEngine)
Customize an SslEngine instance with the configuration of this factory, by callingSslContextFactory.customize(SSLParameters)
SslContextFactory.Client.SniProvider
getSNIProvider()
private static java.util.List<javax.net.ssl.SNIServerName>
getSniServerNames(javax.net.ssl.SSLEngine sslEngine, java.util.List<javax.net.ssl.SNIServerName> serverNames)
protected javax.net.ssl.X509ExtendedKeyManager
newSniX509ExtendedKeyManager(javax.net.ssl.X509ExtendedKeyManager keyManager)
void
setSNIProvider(SslContextFactory.Client.SniProvider sniProvider)
-
Methods inherited from class org.eclipse.jetty.util.ssl.SslContextFactory
addExcludeCipherSuites, addExcludeProtocols, aliasCerts, checkCiphers, checkEndPointIdentificationAlgorithm, checkProtocols, checkTrustAll, customize, deduceKeyLength, doStart, doStop, dump, dump, getAliases, getCertAlias, getCertChain, getCertificateFactoryInstance, getCertStoreInstance, getCipherComparator, getCrlPath, getEndpointIdentificationAlgorithm, getExcludeCipherSuites, getExcludeProtocols, getHostnameVerifier, getIncludeCipherSuites, getIncludeProtocols, getKeyManagerFactoryAlgorithm, getKeyManagerFactoryInstance, getKeyManagers, getKeyStore, getKeyStorePath, getKeyStoreProvider, getKeyStoreResource, getKeyStoreType, getMaxCertPathLength, getNeedClientAuth, getOcspResponderURL, getPassword, getPkixCertPathChecker, getProtocol, getProvider, getRenegotiationLimit, getSecureRandomAlgorithm, getSecureRandomInstance, getSelectedCipherSuites, getSelectedProtocols, getSslContext, getSSLContextInstance, getSslSessionCacheSize, getSslSessionTimeout, getTrustManagerFactoryAlgorithm, getTrustManagerFactoryInstance, getTrustManagers, getTrustStore, getTrustStorePath, getTrustStoreProvider, getTrustStoreResource, getTrustStoreType, getWantClientAuth, getX509, getX509CertChain, isEnableCRLDP, isEnableOCSP, isRenegotiationAllowed, isSessionCachingEnabled, isTrustAll, isUseCipherSuitesOrder, isValidateCerts, isValidatePeerCerts, loadCRL, loadKeyStore, loadTrustStore, newPassword, newPKIXBuilderParameters, newSSLEngine, newSSLEngine, newSSLEngine, newSslServerSocket, newSslSocket, processIncludeCipherSuites, reload, removeExcludedCipherSuites, selectCipherSuites, selectionDump, selectProtocols, setCertAlias, setCipherComparator, setCrlPath, setEnableCRLDP, setEnableOCSP, setEndpointIdentificationAlgorithm, setExcludeCipherSuites, setExcludeProtocols, setHostnameVerifier, setIncludeCipherSuites, setIncludeProtocols, setKeyManagerFactoryAlgorithm, setKeyManagerPassword, setKeyStore, setKeyStorePassword, setKeyStorePath, setKeyStoreProvider, setKeyStoreResource, setKeyStoreType, setMaxCertPathLength, setNeedClientAuth, setOcspResponderURL, setPkixCertPathChecker, setProtocol, setProvider, setRenegotiationAllowed, setRenegotiationLimit, setSecureRandomAlgorithm, setSessionCachingEnabled, setSslContext, setSslSessionCacheSize, setSslSessionTimeout, setTrustAll, setTrustManagerFactoryAlgorithm, setTrustStore, setTrustStorePassword, setTrustStorePath, setTrustStoreProvider, setTrustStoreResource, setTrustStoreType, setUseCipherSuitesOrder, setValidateCerts, setValidatePeerCerts, setWantClientAuth, toString
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop
-
-
-
-
Field Detail
-
sniProvider
private SslContextFactory.Client.SniProvider sniProvider
-
-
Method Detail
-
checkConfiguration
protected void checkConfiguration()
- Overrides:
checkConfiguration
in classSslContextFactory
-
newSniX509ExtendedKeyManager
protected javax.net.ssl.X509ExtendedKeyManager newSniX509ExtendedKeyManager(javax.net.ssl.X509ExtendedKeyManager keyManager)
- Overrides:
newSniX509ExtendedKeyManager
in classSslContextFactory
-
customize
public void customize(javax.net.ssl.SSLEngine sslEngine)
Description copied from class:SslContextFactory
Customize an SslEngine instance with the configuration of this factory, by callingSslContextFactory.customize(SSLParameters)
- Overrides:
customize
in classSslContextFactory
- Parameters:
sslEngine
- the SSLEngine to customize
-
getSNIProvider
public SslContextFactory.Client.SniProvider getSNIProvider()
- Returns:
- the SNI provider used to customize the SNI
-
setSNIProvider
public void setSNIProvider(SslContextFactory.Client.SniProvider sniProvider)
- Parameters:
sniProvider
- the SNI provider used to customize the SNI
-
getSniServerNames
private static java.util.List<javax.net.ssl.SNIServerName> getSniServerNames(javax.net.ssl.SSLEngine sslEngine, java.util.List<javax.net.ssl.SNIServerName> serverNames)
-
-