Package org.xipki.scep.transaction
Enum CaCapability
- java.lang.Object
-
- java.lang.Enum<CaCapability>
-
- org.xipki.scep.transaction.CaCapability
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CaCapability>
public enum CaCapability extends java.lang.Enum<CaCapability>
CA capability enum.- Author:
- Lijun Liao (xipki)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AESDES3GetNextCACertPOSTPKIOperationRenewalSCEPStandardSHA1SHA256SHA512
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CaCapabilityforValue(java.lang.String text)java.lang.StringgetText()static CaCapabilityvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CaCapability[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AES
public static final CaCapability AES
-
DES3
public static final CaCapability DES3
-
GetNextCACert
public static final CaCapability GetNextCACert
-
POSTPKIOperation
public static final CaCapability POSTPKIOperation
-
Renewal
public static final CaCapability Renewal
-
SHA1
public static final CaCapability SHA1
-
SHA256
public static final CaCapability SHA256
-
SHA512
public static final CaCapability SHA512
-
SCEPStandard
public static final CaCapability SCEPStandard
-
-
Method Detail
-
values
public static CaCapability[] 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 (CaCapability c : CaCapability.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CaCapability valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getText
public java.lang.String getText()
-
forValue
public static CaCapability forValue(java.lang.String text)
-
-