From ac69307b0ea8500100fda9426815dd3dabd4ce19 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 2 Jun 2020 15:25:14 +0200 Subject: [PATCH] Added comments --- app/src/main/java/eu/faircode/email/EmailService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/EmailService.java b/app/src/main/java/eu/faircode/email/EmailService.java index 223a750f59..8d6ae0e76b 100644 --- a/app/src/main/java/eu/faircode/email/EmailService.java +++ b/app/src/main/java/eu/faircode/email/EmailService.java @@ -110,10 +110,12 @@ public class EmailService implements AutoCloseable { private static final int APPEND_BUFFER_SIZE = 4 * 1024 * 1024; // bytes + // https://developer.android.com/reference/javax/net/ssl/SSLSocket.html#protocols private static final List SSL_PROTOCOL_BLACKLIST = Collections.unmodifiableList(Arrays.asList( "SSLv2", "SSLv3", "TLSv1", "TLSv1.1" )); + // https://developer.android.com/reference/javax/net/ssl/SSLSocket.html#cipher-suites private static final Pattern SSL_CIPHER_BLACKLIST = Pattern.compile(".*(_DES|DH_|DSS|EXPORT|MD5|NULL|RC4|TLS_FALLBACK_SCSV).*");