mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Added comments
This commit is contained in:
parent
8b81c5d097
commit
ac69307b0e
1 changed files with 2 additions and 0 deletions
|
@ -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<String> 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).*");
|
||||
|
||||
|
|
Loading…
Reference in a new issue