public enum MailEncryptionType extends Enum<MailEncryptionType>
User: Kirill, Date: 14.09.13 15:57
Enum Constant and Description |
---|
NONE
Without encryption.
|
SSL_TLS
Transport Layer Security (TLS) and its predecessor, Secure Sockets Layer (SSL).
|
TLS
Transport Layer Security.
|
Modifier and Type | Method and Description |
---|---|
static MailEncryptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MailEncryptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MailEncryptionType TLS
public static final MailEncryptionType SSL_TLS
public static final MailEncryptionType NONE
public static MailEncryptionType[] values()
for (MailEncryptionType c : MailEncryptionType.values()) System.out.println(c);
public static MailEncryptionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015. All rights reserved.