Package org.apache.kerby.cms.type
Enum CompressedData.CompressedDataField
java.lang.Object
java.lang.Enum<CompressedData.CompressedDataField>
org.apache.kerby.cms.type.CompressedData.CompressedDataField
- All Implemented Interfaces:
Serializable,Comparable<CompressedData.CompressedDataField>,org.apache.kerby.asn1.EnumType
- Enclosing class:
- CompressedData
protected static enum CompressedData.CompressedDataField
extends Enum<CompressedData.CompressedDataField>
implements org.apache.kerby.asn1.EnumType
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetName()intgetValue()Returns the enum constant of this type with the specified name.static CompressedData.CompressedDataField[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VERSION
-
COMPRESSION_ALGORITHM
-
ENCAP_CONTENT_INFO
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getValue
public int getValue()- Specified by:
getValuein interfaceorg.apache.kerby.asn1.EnumType
-
getName
- Specified by:
getNamein interfaceorg.apache.kerby.asn1.EnumType
-