public enum EmailEncryptionType extends java.lang.Enum<EmailEncryptionType>
Enum Constant and Description |
---|
SSL
Standard SSL encryption
|
TLS
Standard TLS encryption
|
UNENCRYPTED
No encryption
|
Modifier and Type | Method and Description |
---|---|
void |
addEncryptionProperties(java.util.Properties properties)
Sets the necessary properties for the type of encryption in the given properties
|
static EmailEncryptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmailEncryptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmailEncryptionType SSL
public static final EmailEncryptionType TLS
public static final EmailEncryptionType UNENCRYPTED
public static EmailEncryptionType[] values()
for (EmailEncryptionType c : EmailEncryptionType.values()) System.out.println(c);
public static EmailEncryptionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void addEncryptionProperties(@NotNull java.util.Properties properties)
properties
- The properties object in which to set the encryption keys