Class ReloadableSslContext


  • public class ReloadableSslContext
    extends org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContext
    SSL context which is able to reload keystore.
    • Constructor Summary

      Constructors 
      Constructor Description
      ReloadableSslContext​(java.lang.String keystorePath, java.lang.String keystoreType, java.lang.String keystorePassword)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.flink.shaded.netty4.io.netty.handler.ssl.ApplicationProtocolNegotiator applicationProtocolNegotiator()  
      java.util.List<java.lang.String> cipherSuites()  
      boolean isClient()  
      javax.net.ssl.SSLEngine newEngine​(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBufAllocator byteBufAllocator)  
      javax.net.ssl.SSLEngine newEngine​(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBufAllocator byteBufAllocator, java.lang.String s, int i)  
      void reload()  
      javax.net.ssl.SSLSessionContext sessionContext()  
      • Methods inherited from class org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContext

        attributes, buildKeyManagerFactory, buildKeyStore, buildTrustManagerFactory, buildTrustManagerFactory, buildTrustManagerFactory, defaultClientProvider, defaultServerProvider, generateKeySpec, isServer, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newHandler, newHandler, newHandler, newHandler, newHandler, newHandler, newHandler, newHandler, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, nextProtocols, sessionCacheSize, sessionTimeout, toPrivateKey, toPrivateKey, toX509Certificates, toX509Certificates
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReloadableSslContext

        public ReloadableSslContext​(java.lang.String keystorePath,
                                    java.lang.String keystoreType,
                                    java.lang.String keystorePassword)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • isClient

        public boolean isClient()
        Specified by:
        isClient in class org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContext
      • cipherSuites

        public java.util.List<java.lang.String> cipherSuites()
        Specified by:
        cipherSuites in class org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContext
      • applicationProtocolNegotiator

        public org.apache.flink.shaded.netty4.io.netty.handler.ssl.ApplicationProtocolNegotiator applicationProtocolNegotiator()
        Specified by:
        applicationProtocolNegotiator in class org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContext
      • newEngine

        public javax.net.ssl.SSLEngine newEngine​(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBufAllocator byteBufAllocator)
        Specified by:
        newEngine in class org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContext
      • newEngine

        public javax.net.ssl.SSLEngine newEngine​(org.apache.flink.shaded.netty4.io.netty.buffer.ByteBufAllocator byteBufAllocator,
                                                 java.lang.String s,
                                                 int i)
        Specified by:
        newEngine in class org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContext
      • sessionContext

        public javax.net.ssl.SSLSessionContext sessionContext()
        Specified by:
        sessionContext in class org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContext
      • reload

        public void reload()
                    throws java.lang.Exception
        Throws:
        java.lang.Exception