com.baidubce.services.kms.model
Enum Constants.KeySpec
java.lang.Object
java.lang.Enum<Constants.KeySpec>
com.baidubce.services.kms.model.Constants.KeySpec
- All Implemented Interfaces:
- Serializable, Comparable<Constants.KeySpec>
- Enclosing class:
- Constants
public static enum Constants.KeySpec
- extends Enum<Constants.KeySpec>
BAIDU_ASE_256
public static final Constants.KeySpec BAIDU_ASE_256
AES_128
public static final Constants.KeySpec AES_128
AES_256
public static final Constants.KeySpec AES_256
RSA_1024
public static final Constants.KeySpec RSA_1024
RSA_2048
public static final Constants.KeySpec RSA_2048
RSA_4096
public static final Constants.KeySpec RSA_4096
values
public static Constants.KeySpec[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Constants.KeySpec c : Constants.KeySpec.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Constants.KeySpec valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
toString
public String toString()
- Overrides:
toString in class Enum<Constants.KeySpec>
Copyright © 2020. All rights reserved.