public enum DataEncryptionAlgorithm extends Enum<DataEncryptionAlgorithm>
| Enum Constant and Description |
|---|
SM4 |
| Modifier and Type | Method and Description |
|---|---|
static DataEncryptionAlgorithm |
fromString(String algorithm) |
String |
getAlgorithm() |
String |
toString() |
static DataEncryptionAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataEncryptionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataEncryptionAlgorithm SM4
public static DataEncryptionAlgorithm[] values()
for (DataEncryptionAlgorithm c : DataEncryptionAlgorithm.values()) System.out.println(c);
public static DataEncryptionAlgorithm 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 getAlgorithm()
public String toString()
toString in class Enum<DataEncryptionAlgorithm>public static DataEncryptionAlgorithm fromString(String algorithm)
Copyright © 2021. All Rights Reserved.