public enum Encryption extends Enum<Encryption>
MessagePayload
Enum Constant and Description |
---|
BLOWFISH
Blowfish encryption
|
NONE
no encryption
|
RIJNDAEL128
Rijndael 128 encryption
|
RIJNDAEL192
Rijndael 192 encryption
|
RIJNDAEL256
Rijndael 256 encryption
|
TRIPLE_DES
Triple DES encryption
|
XOR
XOR encryption(?)
|
Modifier and Type | Method and Description |
---|---|
Encryptor |
getEncryptor() |
static String |
supportedList() |
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 NONE
public static final Encryption TRIPLE_DES
public static final Encryption XOR
public static final Encryption RIJNDAEL128
public static final Encryption RIJNDAEL192
public static final Encryption RIJNDAEL256
public static final Encryption BLOWFISH
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 Encryptor getEncryptor()
Encryptor
for this Encryption
constantpublic static String supportedList()
Copyright © Nov 2008–2017 JSend NSCA. All rights reserved.