Class SSLConnectorCustomizer.JSSESSLContext

java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.server.apps.security.SSLConnectorCustomizer.JSSESSLContext
All Implemented Interfaces:
org.apache.tomcat.util.net.SSLContext
Enclosing class:
SSLConnectorCustomizer

private static class SSLConnectorCustomizer.JSSESSLContext extends Object implements org.apache.tomcat.util.net.SSLContext
Delegating JSSE Context, taken over from package-local non-reusable class org.apache.tomcat.util.net.jsse.JSSESSLContext.
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • JSSESSLContext

      private JSSESSLContext(String protocol) throws IOException
      Creates a context.
      Parameters:
      protocol - the desired SSL protocol
      Throws:
      IOException - if the protocol does not exist
  • Method Details

    • init

      public void init(KeyManager[] kms, TrustManager[] tms, SecureRandom sr) throws KeyManagementException
      Specified by:
      init in interface org.apache.tomcat.util.net.SSLContext
      Throws:
      KeyManagementException
    • destroy

      public void destroy()
      Specified by:
      destroy in interface org.apache.tomcat.util.net.SSLContext
    • getServerSessionContext

      public SSLSessionContext getServerSessionContext()
      Specified by:
      getServerSessionContext in interface org.apache.tomcat.util.net.SSLContext
    • createSSLEngine

      public SSLEngine createSSLEngine()
      Specified by:
      createSSLEngine in interface org.apache.tomcat.util.net.SSLContext
    • getServerSocketFactory

      public SSLServerSocketFactory getServerSocketFactory()
      Specified by:
      getServerSocketFactory in interface org.apache.tomcat.util.net.SSLContext
    • getSupportedSSLParameters

      public SSLParameters getSupportedSSLParameters()
      Specified by:
      getSupportedSSLParameters in interface org.apache.tomcat.util.net.SSLContext
    • getCertificateChain

      public X509Certificate[] getCertificateChain(String alias)
      Specified by:
      getCertificateChain in interface org.apache.tomcat.util.net.SSLContext
    • getAcceptedIssuers

      public X509Certificate[] getAcceptedIssuers()
      Specified by:
      getAcceptedIssuers in interface org.apache.tomcat.util.net.SSLContext