with Tls Limitations
fun withTlsLimitations(tlsLimitations: Boolean, enableCompatibilityMode: Boolean): HomeServerConnectionConfig.Builder
Deprecated
TLS versions and cipher suites are limited by default
Convenient method to limit the TLS versions and cipher suites for this Builder Ref:
https://www.ssi.gouv.fr/uploads/2017/07/anssi-guide-recommandations_de_securite_relatives_a_tls-v1.2.pdf
https://developer.android.com/reference/javax/net/ssl/SSLEngine
Return
this builder
Parameters
tls Limitations
true to use Tls limitations
enable Compatibility Mode
set to true for Android < 20