Class TLSConfig

java.lang.Object
io.javalin.community.ssl.TLSConfig

public final class TLSConfig extends Object
Holder class for the SSL configuration.
See Also:
  • Field Details

    • MODERN

      public static TLSConfig MODERN
      For modern clients that support TLS 1.3, with no need for backwards compatibility
    • INTERMEDIATE

      public static TLSConfig INTERMEDIATE
      Recommended configuration for a general-purpose server
    • OLD

      public static TLSConfig OLD
      For services accessed by very old clients or libraries, such as Internet Explorer 8 (Windows XP), Java 6, or OpenSSL 0.9.8
  • Constructor Details

    • TLSConfig

      public TLSConfig(String[] cipherSuites, String[] protocols)
  • Method Details

    • getCipherSuites

      public String[] getCipherSuites()
    • getProtocols

      public String[] getProtocols()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object