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

    Constructors
    Modifier
    Constructor
    Description
    protected
     
    protected
    AbstractSslContext(String privateKeyFile, String certChainFile, String trustedCAsFile)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final io.netty.handler.ssl.ApplicationProtocolNegotiator
     
    final List<String>
     
    final boolean
     
    final SSLEngine
    newEngine(io.netty.buffer.ByteBufAllocator alloc)
     
    final SSLEngine
    newEngine(io.netty.buffer.ByteBufAllocator alloc, String peerHost, int peerPort)
     
    final long
     
     
    final long
     
    protected void
    setCtx(io.netty.handler.ssl.SslContext ctx)
     
    void
     
    protected abstract void
     
    protected abstract void
    updateContext(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

    Methods inherited from class java.lang.Object

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

    • AbstractSslContext

      protected AbstractSslContext(String privateKeyFile, String certChainFile, String trustedCAsFile)
    • AbstractSslContext

      protected AbstractSslContext(String caFile)
  • Method Details

    • updateContext

      protected abstract void updateContext(String caFile)
    • updateContext

      protected abstract void updateContext(String privateKeyFile, String certChainFile, String trustedCAsFile)
    • start

      public void start()
    • isClient

      public final boolean isClient()
      Specified by:
      isClient in class io.netty.handler.ssl.SslContext
    • cipherSuites

      public final List<String> cipherSuites()
      Specified by:
      cipherSuites in class io.netty.handler.ssl.SslContext
    • sessionCacheSize

      public final long sessionCacheSize()
      Overrides:
      sessionCacheSize in class io.netty.handler.ssl.SslContext
    • sessionTimeout

      public final long sessionTimeout()
      Overrides:
      sessionTimeout in class io.netty.handler.ssl.SslContext
    • applicationProtocolNegotiator

      public final io.netty.handler.ssl.ApplicationProtocolNegotiator applicationProtocolNegotiator()
      Specified by:
      applicationProtocolNegotiator in class io.netty.handler.ssl.SslContext
    • newEngine

      public final SSLEngine newEngine(io.netty.buffer.ByteBufAllocator alloc)
      Specified by:
      newEngine in class io.netty.handler.ssl.SslContext
    • newEngine

      public final SSLEngine newEngine(io.netty.buffer.ByteBufAllocator alloc, String peerHost, int peerPort)
      Specified by:
      newEngine in class io.netty.handler.ssl.SslContext
    • sessionContext

      public final SSLSessionContext sessionContext()
      Specified by:
      sessionContext in class io.netty.handler.ssl.SslContext
    • setCtx

      protected void setCtx(io.netty.handler.ssl.SslContext ctx)