Class AbstractSslContext
java.lang.Object
io.netty.handler.ssl.SslContext
org.apache.skywalking.oap.server.library.server.ssl.AbstractSslContext
- Direct Known Subclasses:
DynamicSslContext,HTTPDynamicSslContext
public abstract class AbstractSslContext
extends io.netty.handler.ssl.SslContext
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractSslContext(String caFile) protectedAbstractSslContext(String privateKeyFile, String certChainFile, String trustedCAsFile) -
Method Summary
Modifier and TypeMethodDescriptionfinal io.netty.handler.ssl.ApplicationProtocolNegotiatorfinal booleanisClient()final SSLEnginenewEngine(io.netty.buffer.ByteBufAllocator alloc) final SSLEnginefinal longfinal SSLSessionContextfinal longprotected voidsetCtx(io.netty.handler.ssl.SslContext ctx) voidstart()protected abstract voidupdateContext(String caFile) protected abstract voidupdateContext(String privateKeyFile, String certChainFile, String trustedCAsFile) Methods 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
-
AbstractSslContext
-
AbstractSslContext
-
-
Method Details
-
updateContext
-
updateContext
-
start
public void start() -
isClient
public final boolean isClient()- Specified by:
isClientin classio.netty.handler.ssl.SslContext
-
cipherSuites
- Specified by:
cipherSuitesin classio.netty.handler.ssl.SslContext
-
sessionCacheSize
public final long sessionCacheSize()- Overrides:
sessionCacheSizein classio.netty.handler.ssl.SslContext
-
sessionTimeout
public final long sessionTimeout()- Overrides:
sessionTimeoutin classio.netty.handler.ssl.SslContext
-
applicationProtocolNegotiator
public final io.netty.handler.ssl.ApplicationProtocolNegotiator applicationProtocolNegotiator()- Specified by:
applicationProtocolNegotiatorin classio.netty.handler.ssl.SslContext
-
newEngine
- Specified by:
newEnginein classio.netty.handler.ssl.SslContext
-
newEngine
public final SSLEngine newEngine(io.netty.buffer.ByteBufAllocator alloc, String peerHost, int peerPort) - Specified by:
newEnginein classio.netty.handler.ssl.SslContext
-
sessionContext
- Specified by:
sessionContextin classio.netty.handler.ssl.SslContext
-
setCtx
protected void setCtx(io.netty.handler.ssl.SslContext ctx)
-