mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-15 14:05:05 -05:00
20 lines
532 B
Java
20 lines
532 B
Java
package com.fsck.k9.mail;
|
|
|
|
/**
|
|
* The currently available connection security types.
|
|
*
|
|
* <p>
|
|
* Right now this enum is only used by {@link ServerSettings} and converted to store- or
|
|
* transport-specific constants in the different {@link Store} and {@link Transport}
|
|
* implementations. In the future we probably want to change this and use
|
|
* {@code ConnectionSecurity} exclusively.
|
|
* </p>
|
|
*/
|
|
public enum ConnectionSecurity {
|
|
NONE,
|
|
STARTTLS_OPTIONAL,
|
|
STARTTLS_REQUIRED,
|
|
SSL_TLS_OPTIONAL,
|
|
SSL_TLS_REQUIRED
|
|
}
|