public enum Encryption extends Enum<Encryption>
Enum Constant and Description |
---|
AES128
Use the AES-128 cipher to encrypt the transfer.
|
AES192
Use the AES-192 cipher to encrypt the transfer.
|
AES256
Use the AES-256 cipher to encrypt the transfer.
|
NONE
Turn off encryption for better performance.
|
Modifier and Type | Field and Description |
---|---|
static Encryption |
DEFAULT
The default Encryption value.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommandLineOption() |
String |
toString() |
static Encryption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Encryption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Encryption AES128
public static final Encryption NONE
public static final Encryption AES192
public static final Encryption AES256
public static final Encryption DEFAULT
public static Encryption[] values()
for (Encryption c : Encryption.values()) System.out.println(c);
public static Encryption 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 nullpublic String getCommandLineOption()
public String toString()
toString
in class Enum<Encryption>
Copyright © 2017 Aspera Inc.. All rights reserved.