public static enum Constants.KeySpec extends Enum<Constants.KeySpec>
| Enum Constant and Description |
|---|
AES_128 |
AES_256 |
BAIDU_ASE_256 |
RSA_1024 |
RSA_2048 |
RSA_4096 |
SM1_128 |
SM2_256 |
SM4_128 |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Constants.KeySpec |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.KeySpec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.KeySpec BAIDU_ASE_256
public static final Constants.KeySpec AES_128
public static final Constants.KeySpec AES_256
public static final Constants.KeySpec SM1_128
public static final Constants.KeySpec SM4_128
public static final Constants.KeySpec RSA_1024
public static final Constants.KeySpec RSA_2048
public static final Constants.KeySpec RSA_4096
public static final Constants.KeySpec SM2_256
public static Constants.KeySpec[] values()
for (Constants.KeySpec c : Constants.KeySpec.values()) System.out.println(c);
public static Constants.KeySpec 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<Constants.KeySpec>Copyright © 2022. All rights reserved.