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 CKAattributeCKCcertificate typeCKDkey derivation functionCKF_MECHANISMbit flag of mechanism infoCKF_OTPbit flag of OTPCKF_SESSIONbit flag of session infoCKF_SLOTbit flag of slot infoCKF_TOKENbit flag of token infoCKG_GENERATORgeneratorCKG_MGFmask generation functionCKHhardware featureCKKkey typeCKMmechanism typeCKOobject classCKP_PRFpseudo-random functionCKP_PROFILE_IDprofile IDCKRreturn valueCKSsession stateCKUuserCKZsalt/encoding parameter source
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPrefix()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
attribute
-
CKC
public static final PKCS11Constants.Category CKC
certificate type
-
CKD
public static final PKCS11Constants.Category CKD
key derivation function
-
CKF_MECHANISM
public static final PKCS11Constants.Category CKF_MECHANISM
bit flag of mechanism info
-
CKF_OTP
public static final PKCS11Constants.Category CKF_OTP
bit flag of OTP
-
CKF_SESSION
public static final PKCS11Constants.Category CKF_SESSION
bit flag of session info
-
CKF_SLOT
public static final PKCS11Constants.Category CKF_SLOT
bit flag of slot info
-
CKF_TOKEN
public static final PKCS11Constants.Category CKF_TOKEN
bit flag of token info
-
CKG_GENERATOR
public static final PKCS11Constants.Category CKG_GENERATOR
generator
-
CKG_MGF
public static final PKCS11Constants.Category CKG_MGF
mask generation function
-
CKH
public static final PKCS11Constants.Category CKH
hardware feature
-
CKK
public static final PKCS11Constants.Category CKK
key type
-
CKM
public static final PKCS11Constants.Category CKM
mechanism type
-
CKO
public static final PKCS11Constants.Category CKO
object class
-
CKP_PROFILE_ID
public static final PKCS11Constants.Category CKP_PROFILE_ID
profile ID
-
CKP_PRF
public static final PKCS11Constants.Category CKP_PRF
pseudo-random function
-
CKR
public static final PKCS11Constants.Category CKR
return value
-
CKS
public static final PKCS11Constants.Category CKS
session state
-
CKU
public static final PKCS11Constants.Category CKU
user
-
CKZ
public static final PKCS11Constants.Category CKZ
salt/encoding parameter source
-
-
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
-
getPrefix
public String getPrefix()
-
-