Class TlsConfigUtils

java.lang.Object
io.quarkus.tls.runtime.config.TlsConfigUtils

public class TlsConfigUtils extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    configure(io.vertx.core.http.HttpClientOptions options, io.quarkus.tls.TlsConfiguration configuration)
    Configure the HttpClientOptions with the given TlsConfiguration.
    static void
    configure(io.vertx.core.http.WebSocketClientOptions options, io.quarkus.tls.TlsConfiguration configuration)
    Configure the WebSocketClientOptions with the given TlsConfiguration.
    static void
    configure(io.vertx.core.net.ClientOptionsBase options, io.quarkus.tls.TlsConfiguration configuration)
    Configure the ClientOptionsBase with the given TlsConfiguration.
    static void
    configure(io.vertx.core.net.NetClientOptions options, io.quarkus.tls.TlsConfiguration configuration)
    Configure the NetClientOptions with the given TlsConfiguration.
    static void
    configure(io.vertx.core.net.TCPSSLOptions options, io.quarkus.tls.TlsConfiguration configuration)
    Configure the TCPSSLOptions with the given TlsConfiguration.
    static byte[]
    read(Path path)
    Read the content of the path.

    Methods inherited from class java.lang.Object

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

    • read

      public static byte[] read(Path path)
      Read the content of the path.

      The file is read from the classpath if it exists, otherwise it is read from the file system.

      Parameters:
      path - the path, must not be null
      Returns:
      the content of the file
    • configure

      public static void configure(io.vertx.core.net.TCPSSLOptions options, io.quarkus.tls.TlsConfiguration configuration)
      Configure the TCPSSLOptions with the given TlsConfiguration.
      Parameters:
      options - the options to configure
      configuration - the configuration to use
    • configure

      public static void configure(io.vertx.core.net.ClientOptionsBase options, io.quarkus.tls.TlsConfiguration configuration)
      Configure the ClientOptionsBase with the given TlsConfiguration.
      Parameters:
      options - the options to configure
      configuration - the configuration to use
    • configure

      public static void configure(io.vertx.core.net.NetClientOptions options, io.quarkus.tls.TlsConfiguration configuration)
      Configure the NetClientOptions with the given TlsConfiguration.
      Parameters:
      options - the options to configure
      configuration - the configuration to use
    • configure

      public static void configure(io.vertx.core.http.HttpClientOptions options, io.quarkus.tls.TlsConfiguration configuration)
      Configure the HttpClientOptions with the given TlsConfiguration.
      Parameters:
      options - the options to configure
      configuration - the configuration to use
    • configure

      public static void configure(io.vertx.core.http.WebSocketClientOptions options, io.quarkus.tls.TlsConfiguration configuration)
      Configure the WebSocketClientOptions with the given TlsConfiguration.
      Parameters:
      options - the options to configure
      configuration - the configuration to use