code: public static SSLEngine getSSLEngine(SSLContext context, FlowType type, SSLLinkConfig config, SSLConnectionLink connLink) {
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              Tr.entry(tc, "getSSLEngine");
          }
          // Create a new SSL engine for this connection.
          SSLEngine engine = context.createSSLEngine();
  
          configureEngine(engine, type, config, connLink);
          if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
              Tr.exit(tc, "getSSLEngine, hc=" + engine.hashCode());
          }
          return engine;
      }
docs: Setup the SSL engine for the given context.
  
  @param context used to build the engine
  @param type to determine if connection is inbound or outbound
  @param config SSL channel configuration
  @param connLink
  @return SSLEngine