com.baidubce.services.kms.model
Enum Constants.PublicKeyEncoding
java.lang.Object
java.lang.Enum<Constants.PublicKeyEncoding>
com.baidubce.services.kms.model.Constants.PublicKeyEncoding
- All Implemented Interfaces:
- Serializable, Comparable<Constants.PublicKeyEncoding>
- Enclosing class:
- Constants
public static enum Constants.PublicKeyEncoding
- extends Enum<Constants.PublicKeyEncoding>
RAW_HEX
public static final Constants.PublicKeyEncoding RAW_HEX
BASE64
public static final Constants.PublicKeyEncoding BASE64
PEM
public static final Constants.PublicKeyEncoding PEM
values
public static Constants.PublicKeyEncoding[] 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.PublicKeyEncoding c : Constants.PublicKeyEncoding.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.PublicKeyEncoding 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.PublicKeyEncoding>
Copyright © 2020. All rights reserved.