Package com.ellipticsecure.ehsm
Class CKReturnValues
- java.lang.Object
-
- com.ellipticsecure.ehsm.CKReturnValues
-
public class CKReturnValues extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static longBTC_KEY_ALREADY_EXISTSstatic longBTC_KEY_NOT_FOUNDstatic longCKR_ACTION_PROHIBITEDstatic longCKR_ARGUMENTS_BADstatic longCKR_CRYPTOKI_ALREADY_INITIALIZEDstatic longCKR_CRYPTOKI_NOT_INITIALIZEDstatic longCKR_FUNCTION_FAILEDstatic longCKR_OBJECT_HANDLE_INVALIDstatic longCKR_OKstatic longCKR_PIN_INCORRECTstatic longCKR_USER_NOT_LOGGED_INstatic longCKR_USER_PIN_NOT_INITIALIZEDstatic longCKR_VENDOR_DEFINED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetErrorMessage(long ckr)Returns a text message for the specified CryptoKey return code or null if none found.
-
-
-
Field Detail
-
CKR_OK
public static final long CKR_OK
- See Also:
- Constant Field Values
-
CKR_FUNCTION_FAILED
public static final long CKR_FUNCTION_FAILED
- See Also:
- Constant Field Values
-
CKR_ARGUMENTS_BAD
public static final long CKR_ARGUMENTS_BAD
- See Also:
- Constant Field Values
-
CKR_ACTION_PROHIBITED
public static final long CKR_ACTION_PROHIBITED
- See Also:
- Constant Field Values
-
CKR_OBJECT_HANDLE_INVALID
public static final long CKR_OBJECT_HANDLE_INVALID
- See Also:
- Constant Field Values
-
CKR_PIN_INCORRECT
public static final long CKR_PIN_INCORRECT
- See Also:
- Constant Field Values
-
CKR_USER_NOT_LOGGED_IN
public static final long CKR_USER_NOT_LOGGED_IN
- See Also:
- Constant Field Values
-
CKR_USER_PIN_NOT_INITIALIZED
public static final long CKR_USER_PIN_NOT_INITIALIZED
- See Also:
- Constant Field Values
-
CKR_CRYPTOKI_NOT_INITIALIZED
public static final long CKR_CRYPTOKI_NOT_INITIALIZED
- See Also:
- Constant Field Values
-
CKR_CRYPTOKI_ALREADY_INITIALIZED
public static final long CKR_CRYPTOKI_ALREADY_INITIALIZED
- See Also:
- Constant Field Values
-
CKR_VENDOR_DEFINED
public static final long CKR_VENDOR_DEFINED
- See Also:
- Constant Field Values
-
BTC_KEY_NOT_FOUND
public static final long BTC_KEY_NOT_FOUND
- See Also:
- Constant Field Values
-
BTC_KEY_ALREADY_EXISTS
public static final long BTC_KEY_ALREADY_EXISTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getErrorMessage
public static String getErrorMessage(long ckr)
Returns a text message for the specified CryptoKey return code or null if none found.- Parameters:
ckr- the CKR_xxx code- Returns:
- a text message for the specified CryptoKey return code or null if none found.
-
-