public static enum CryptoParametersJ8.TYPES_IMPL extends Enum<CryptoParametersJ8.TYPES_IMPL>
ALGORITHM_J8_PBEALGORITHM_J8_GCM (Cipher Algorithm Names/Cipher Algorithm Modes/Cipher Algorithm Padding). Cipher is Galois/Counter Mode, as defined in NIST Special Publication SP 800-38D: | Enum Constant and Description |
|---|
ALGORITHM_J8_GCM |
ALGORITHM_J8_PBE |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm() |
String |
getClearCode()
clear code depending on algorithm AES size return
|
String |
toString() |
static CryptoParametersJ8.TYPES_IMPL |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CryptoParametersJ8.TYPES_IMPL[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CryptoParametersJ8.TYPES_IMPL ALGORITHM_J8_PBE
public static final CryptoParametersJ8.TYPES_IMPL ALGORITHM_J8_GCM
public static CryptoParametersJ8.TYPES_IMPL[] values()
for (CryptoParametersJ8.TYPES_IMPL c : CryptoParametersJ8.TYPES_IMPL.values()) System.out.println(c);
public static CryptoParametersJ8.TYPES_IMPL 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 toString()
toString in class Enum<CryptoParametersJ8.TYPES_IMPL>public String getAlgorithm()
public String getClearCode()
J8AESAES_<size>;.
CryptoParametersJ8.CLEAR_CODE_DEFAULTCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.