Package org.xipki.pkcs11.wrapper
Enum PKCS11Constants.Category
- java.lang.Object
-
- java.lang.Enum<PKCS11Constants.Category>
-
- org.xipki.pkcs11.wrapper.PKCS11Constants.Category
-
- All Implemented Interfaces:
Serializable,Comparable<PKCS11Constants.Category>
- Enclosing class:
- PKCS11Constants
public static enum PKCS11Constants.Category extends Enum<PKCS11Constants.Category>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CKACKCCKDCKF_MECHANISMCKF_OTPCKF_SESSIONCKF_SLOTCKF_TOKENCKG_GENERATORCKG_MGFCKHCKKCKMCKOCKP_PRFCKP_PROFILE_IDCKRCKSCKUCKZ
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PKCS11Constants.CategoryvalueOf(String name)Returns the enum constant of this type with the specified name.static PKCS11Constants.Category[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CKA
public static final PKCS11Constants.Category CKA
-
CKC
public static final PKCS11Constants.Category CKC
-
CKD
public static final PKCS11Constants.Category CKD
-
CKF_MECHANISM
public static final PKCS11Constants.Category CKF_MECHANISM
-
CKF_OTP
public static final PKCS11Constants.Category CKF_OTP
-
CKF_SESSION
public static final PKCS11Constants.Category CKF_SESSION
-
CKF_SLOT
public static final PKCS11Constants.Category CKF_SLOT
-
CKF_TOKEN
public static final PKCS11Constants.Category CKF_TOKEN
-
CKG_GENERATOR
public static final PKCS11Constants.Category CKG_GENERATOR
-
CKG_MGF
public static final PKCS11Constants.Category CKG_MGF
-
CKH
public static final PKCS11Constants.Category CKH
-
CKK
public static final PKCS11Constants.Category CKK
-
CKM
public static final PKCS11Constants.Category CKM
-
CKO
public static final PKCS11Constants.Category CKO
-
CKP_PROFILE_ID
public static final PKCS11Constants.Category CKP_PROFILE_ID
-
CKP_PRF
public static final PKCS11Constants.Category CKP_PRF
-
CKR
public static final PKCS11Constants.Category CKR
-
CKS
public static final PKCS11Constants.Category CKS
-
CKU
public static final PKCS11Constants.Category CKU
-
CKZ
public static final PKCS11Constants.Category CKZ
-
-
Method Detail
-
values
public static PKCS11Constants.Category[] 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 (PKCS11Constants.Category c : PKCS11Constants.Category.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PKCS11Constants.Category 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
-
-