Package org.restlet.ext.jetty.internal
Class RestletSslContextFactory
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.ssl.SslContextFactory
-
- org.restlet.ext.jetty.internal.RestletSslContextFactory
-
- All Implemented Interfaces:
org.eclipse.jetty.util.component.Dumpable,org.eclipse.jetty.util.component.LifeCycle
public class RestletSslContextFactory extends org.eclipse.jetty.util.ssl.SslContextFactoryJetty SSL context factory based on a Restlet SSL context one.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.ssl.SslContextFactory
org.eclipse.jetty.util.ssl.SslContextFactory.Client, org.eclipse.jetty.util.ssl.SslContextFactory.Server, org.eclipse.jetty.util.ssl.SslContextFactory.X509ExtendedKeyManagerWrapper, org.eclipse.jetty.util.ssl.SslContextFactory.X509ExtendedTrustManagerWrapper
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.util.ssl.SslContextFactory
DEFAULT_KEYMANAGERFACTORY_ALGORITHM, DEFAULT_TRUSTMANAGERFACTORY_ALGORITHM, KEYPASSWORD_PROPERTY, PASSWORD_PROPERTY, TRUST_ALL_CERTS
-
-
Constructor Summary
Constructors Constructor Description RestletSslContextFactory(SslContextFactory restletSslContextFactory)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.net.ssl.SSLEnginenewSSLEngine()javax.net.ssl.SSLEnginenewSSLEngine(java.lang.String host, int port)javax.net.ssl.SSLServerSocketnewSslServerSocket(java.lang.String host, int port, int backlog)javax.net.ssl.SSLSocketnewSslSocket()-
Methods inherited from class org.eclipse.jetty.util.ssl.SslContextFactory
addExcludeCipherSuites, addExcludeProtocols, checkCiphers, checkConfiguration, checkEndPointIdentificationAlgorithm, checkProtocols, checkTrustAll, customize, 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, newSniX509ExtendedKeyManager, newSSLEngine, processIncludeCipherSuites, reload, removeExcludedCipherSuites, selectCipherSuites, 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
-
-
-
-
Constructor Detail
-
RestletSslContextFactory
public RestletSslContextFactory(SslContextFactory restletSslContextFactory) throws java.lang.Exception
Constructor.- Parameters:
restletSslContextFactory- The Restlet SSL context factory to leverage.- Throws:
java.lang.Exception
-
-
Method Detail
-
newSSLEngine
public javax.net.ssl.SSLEngine newSSLEngine()
- Overrides:
newSSLEnginein classorg.eclipse.jetty.util.ssl.SslContextFactory
-
newSSLEngine
public javax.net.ssl.SSLEngine newSSLEngine(java.lang.String host, int port)- Overrides:
newSSLEnginein classorg.eclipse.jetty.util.ssl.SslContextFactory
-
newSslServerSocket
public javax.net.ssl.SSLServerSocket newSslServerSocket(java.lang.String host, int port, int backlog) throws java.io.IOException- Overrides:
newSslServerSocketin classorg.eclipse.jetty.util.ssl.SslContextFactory- Throws:
java.io.IOException
-
newSslSocket
public javax.net.ssl.SSLSocket newSslSocket() throws java.io.IOException- Overrides:
newSslSocketin classorg.eclipse.jetty.util.ssl.SslContextFactory- Throws:
java.io.IOException
-
-