Class ReloadableSslContext
- java.lang.Object
-
- org.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContext
-
- org.apache.flink.kubernetes.operator.ssl.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
-
-
-
-
Method Detail
-
isClient
public boolean isClient()
- Specified by:
isClient
in classorg.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContext
-
cipherSuites
public java.util.List<java.lang.String> cipherSuites()
- Specified by:
cipherSuites
in classorg.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 classorg.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 classorg.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 classorg.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContext
-
sessionContext
public javax.net.ssl.SSLSessionContext sessionContext()
- Specified by:
sessionContext
in classorg.apache.flink.shaded.netty4.io.netty.handler.ssl.SslContext
-
reload
public void reload() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-