Class DynamicSslContext
java.lang.Object
io.netty.handler.ssl.SslContext
org.apache.skywalking.oap.server.library.server.ssl.AbstractSslContext
org.apache.skywalking.oap.server.library.server.grpc.ssl.DynamicSslContext
Load SslContext dynamically.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDynamicSslContext(String caFile) protectedDynamicSslContext(String privateKeyFile, String certChainFile, String trustedCAsFile) -
Method Summary
Modifier and TypeMethodDescriptionstatic DynamicSslContextstatic DynamicSslContextprotected voidupdateContext(String caFile) protected voidupdateContext(String privateKeyFile, String certChainFile, String trustedCAsFile) Methods inherited from class org.apache.skywalking.oap.server.library.server.ssl.AbstractSslContext
applicationProtocolNegotiator, cipherSuites, isClient, newEngine, newEngine, sessionCacheSize, sessionContext, sessionTimeout, setCtx, startMethods inherited from class 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, toPrivateKey, toPrivateKey, toX509Certificates, toX509Certificates
-
Constructor Details
-
DynamicSslContext
-
DynamicSslContext
-
-
Method Details
-
forServer
public static DynamicSslContext forServer(String privateKeyFile, String certChainFile, String trustedCAsFile) -
forClient
-
updateContext
- Specified by:
updateContextin classAbstractSslContext
-
updateContext
- Specified by:
updateContextin classAbstractSslContext
-