public static enum CryptoParametersJ8.TYPES extends Enum<CryptoParametersJ8.TYPES>
CryptoParametersJ8.TYPES_IMPL.| Enum Constant and Description |
|---|
GCM
AES algorithm, but GCM is is actually the algorithm mode, but nevertheless used as a short name.
|
PBE
PBE algorithm is kind of meta algorithm, uses AES, see above.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClearCode()
Clear code should be always 10 bytes.
|
static CryptoParametersJ8.TYPES |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptoParametersJ8.TYPES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptoParametersJ8.TYPES PBE
public static final CryptoParametersJ8.TYPES GCM
public static CryptoParametersJ8.TYPES[] values()
for (CryptoParametersJ8.TYPES c : CryptoParametersJ8.TYPES.values()) System.out.println(c);
public static CryptoParametersJ8.TYPES 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 getClearCode()
CryptoParametersJ8.CLEAR_CODE_DEFAULTCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.