public static enum CryptoCodec.Crypto extends Enum<CryptoCodec.Crypto>
| Enum Constant and Description |
|---|
AES
AES (256bits inacessible sans security policies :http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html)
|
TripleDES
Triple DES.
|
| Modifier and Type | Method and Description |
|---|---|
static CryptoCodec.Crypto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptoCodec.Crypto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptoCodec.Crypto TripleDES
public static final CryptoCodec.Crypto AES
public static CryptoCodec.Crypto[] values()
for (CryptoCodec.Crypto c : CryptoCodec.Crypto.values()) System.out.println(c);
public static CryptoCodec.Crypto 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 © 2016. All Rights Reserved.