com.baidubce.services.kms.model
Enum Constants.PublicKeyEncoding

java.lang.Object
  extended by java.lang.Enum<Constants.PublicKeyEncoding>
      extended by 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>


Enum Constant Summary
BASE64
           
PEM
           
RAW_HEX
           
 
Method Summary
 String toString()
           
static Constants.PublicKeyEncoding valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Constants.PublicKeyEncoding[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RAW_HEX

public static final Constants.PublicKeyEncoding RAW_HEX

BASE64

public static final Constants.PublicKeyEncoding BASE64

PEM

public static final Constants.PublicKeyEncoding PEM
Method Detail

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.