Package io.javalin.community.ssl
Class TLSConfig
java.lang.Object
io.javalin.community.ssl.TLSConfig
Data class for the SSL configuration.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic TLSConfigRecommended configuration for a general-purpose serverstatic TLSConfigFor modern clients that support TLS 1.3, with no need for backwards compatibilitystatic TLSConfigFor services accessed by very old clients or libraries, such as Internet Explorer 8 (Windows XP), Java 6, or OpenSSL 0.9.8 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]String array of cipher suites to use, following the guidelines in the Jetty documentation.String[]String array of protocols to use, following the guidelines in the Jetty documentation.inthashCode()toString()
-
Field Details
-
MODERN
For modern clients that support TLS 1.3, with no need for backwards compatibility -
INTERMEDIATE
Recommended configuration for a general-purpose server -
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
-
-
Method Details
-
getCipherSuites
String array of cipher suites to use, following the guidelines in the Jetty documentation. -
getProtocols
String array of protocols to use, following the guidelines in the Jetty documentation. -
equals
-
hashCode
public int hashCode() -
toString
-