Package org.xipki.pkcs11.wrapper.attrs
Enum Attribute.AttrType
- java.lang.Object
-
- java.lang.Enum<Attribute.AttrType>
-
- org.xipki.pkcs11.wrapper.attrs.Attribute.AttrType
-
- All Implemented Interfaces:
Serializable,Comparable<Attribute.AttrType>
- Enclosing class:
- Attribute
public static enum Attribute.AttrType extends Enum<Attribute.AttrType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTEARRAYBOOLEANBYTEARRAYCHARARRAYDATELONGMECHANISMMECHANISMARRAY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Attribute.AttrTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Attribute.AttrType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATTRIBUTEARRAY
public static final Attribute.AttrType ATTRIBUTEARRAY
-
BOOLEAN
public static final Attribute.AttrType BOOLEAN
-
BYTEARRAY
public static final Attribute.AttrType BYTEARRAY
-
CHARARRAY
public static final Attribute.AttrType CHARARRAY
-
DATE
public static final Attribute.AttrType DATE
-
LONG
public static final Attribute.AttrType LONG
-
MECHANISM
public static final Attribute.AttrType MECHANISM
-
MECHANISMARRAY
public static final Attribute.AttrType MECHANISMARRAY
-
-
Method Detail
-
values
public static Attribute.AttrType[] 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 (Attribute.AttrType c : Attribute.AttrType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Attribute.AttrType 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 nameNullPointerException- if the argument is null
-
-