public enum EncryptionAlgorithm extends Enum<EncryptionAlgorithm>
| Modifier and Type | Method and Description |
|---|---|
static EncryptionAlgorithm |
fromString(String algorithmName,
EncryptionAlgorithm defaultAlgorithm)
Gets the encryption algorithm from an algorithm name
|
static EncryptionAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncryptionAlgorithm RSA_3DES
public static final EncryptionAlgorithm AES128
public static final EncryptionAlgorithm AES192
public static final EncryptionAlgorithm AES256
public static EncryptionAlgorithm[] values()
for (EncryptionAlgorithm c : EncryptionAlgorithm.values()) System.out.println(c);
public static EncryptionAlgorithm 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 static EncryptionAlgorithm fromString(String algorithmName, EncryptionAlgorithm defaultAlgorithm)
algorithmNam - The encryption algorithm namedefaultAlgorithm - The default algorithm to return is a corresponding name cannot be foundCopyright © 2010-2016 NHIN Direct. All Rights Reserved.