Class 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.SslContextFactory
    Jetty 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
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable

        org.eclipse.jetty.util.component.Dumpable.DumpableContainer
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

        org.eclipse.jetty.util.component.LifeCycle.Listener
    • 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
      • Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

        FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING
      • Fields inherited from interface org.eclipse.jetty.util.component.Dumpable

        KEY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.net.ssl.SSLEngine newSSLEngine()  
      javax.net.ssl.SSLEngine newSSLEngine​(java.lang.String host, int port)  
      javax.net.ssl.SSLServerSocket newSslServerSocket​(java.lang.String host, int port, int backlog)  
      javax.net.ssl.SSLSocket newSslSocket()  
      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.jetty.util.component.Dumpable

        dumpSelf
    • 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:
        newSSLEngine in class org.eclipse.jetty.util.ssl.SslContextFactory
      • newSSLEngine

        public javax.net.ssl.SSLEngine newSSLEngine​(java.lang.String host,
                                                    int port)
        Overrides:
        newSSLEngine in class org.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:
        newSslServerSocket in class org.eclipse.jetty.util.ssl.SslContextFactory
        Throws:
        java.io.IOException
      • newSslSocket

        public javax.net.ssl.SSLSocket newSslSocket()
                                             throws java.io.IOException
        Overrides:
        newSslSocket in class org.eclipse.jetty.util.ssl.SslContextFactory
        Throws:
        java.io.IOException