| Modifier and Type | Class and Description |
|---|---|
| public static enum | |
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| protected long | errorCode
The code of the error which was the reason for this exception. |
| protected String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | PKCS11Exception(long errorCode, String extraInfo)
Constructor taking the error code (the CKR_* constants in PKCS#11) and extra info for error message. |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public String | Returns: The message or the error code; e.g. "CKR_DEVICE_ERROR" or "0x00000030".Overrides java. This method gets the corresponding text error message from a property file. |
| private static String | |
| public boolean | Returns: true if the error code matches the specified enum value.Returns true if the error code matches the specified enum value. |
| errorCode | back to summary |
|---|---|
| protected long errorCode The code of the error which was the reason for this exception. | |
| errorMsg | back to summary |
|---|---|
| protected String errorMsg | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| PKCS11Exception | back to summary |
|---|---|
| public PKCS11Exception(long errorCode, String extraInfo) Constructor taking the error code (the CKR_* constants in PKCS#11) and extra info for error message. | |
| getErrorCode | back to summary |
|---|---|
| public long getErrorCode() Returns the PKCS#11 error code.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. This method gets the corresponding text error message from a property file. If this file is not available, it returns the error code as a hex-string.
| |
| lookup | back to summary |
|---|---|
| private static String lookup(long errorCode) | |
| match | back to summary |
|---|---|
| public boolean match(PKCS11Exception. Returns true if the error code matches the specified enum value.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| private final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static PKCS11Exception. | |
| public static PKCS11Exception. |
| CKR_ACTION_PROHIBITED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_AEAD_DECRYPT_FAILED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_ARGUMENTS_BAD | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_ATTRIBUTE_READ_ONLY | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_ATTRIBUTE_SENSITIVE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_ATTRIBUTE_TYPE_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_ATTRIBUTE_VALUE_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_BUFFER_TOO_SMALL | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_CANCEL | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_CANT_LOCK | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_CRYPTOKI_ALREADY_INITIALIZED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_CRYPTOKI_NOT_INITIALIZED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_CURVE_NOT_SUPPORTED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_DATA_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_DATA_LEN_RANGE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_DEVICE_ERROR | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_DEVICE_MEMORY | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_DEVICE_REMOVED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_DOMAIN_PARAMS_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_ENCRYPTED_DATA_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_ENCRYPTED_DATA_LEN_RANGE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_EXCEEDED_MAX_ITERATIONS | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_FIPS_SELF_TEST_FAILED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_FUNCTION_CANCELED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_FUNCTION_FAILED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_FUNCTION_NOT_PARALLEL | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_FUNCTION_NOT_SUPPORTED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_FUNCTION_REJECTED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_GENERAL_ERROR | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_HOST_MEMORY | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_INFORMATION_SENSITIVE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_KEY_CHANGED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_KEY_FUNCTION_NOT_PERMITTED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_KEY_HANDLE_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_KEY_INDIGESTIBLE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_KEY_NEEDED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_KEY_NOT_NEEDED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_KEY_NOT_WRAPPABLE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_KEY_SIZE_RANGE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_KEY_TYPE_INCONSISTENT | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_KEY_UNEXTRACTABLE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_LIBRARY_LOAD_FAILED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_MECHANISM_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_MECHANISM_PARAM_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_MUTEX_BAD | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_MUTEX_NOT_LOCKED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_NEED_TO_CREATE_THREADS | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_NEW_PIN_MODE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_NEXT_OTP | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_NO_EVENT | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_OBJECT_HANDLE_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_OK | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_OPERATION_ACTIVE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_OPERATION_CANCEL_FAILED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_OPERATION_NOT_INITIALIZED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_PIN_EXPIRED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_PIN_INCORRECT | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_PIN_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_PIN_LEN_RANGE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_PIN_LOCKED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_PIN_TOO_WEAK | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_PUBLIC_KEY_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_RANDOM_NO_RNG | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_RANDOM_SEED_NOT_SUPPORTED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_SAVED_STATE_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_SESSION_CLOSED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_SESSION_COUNT | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_SESSION_EXISTS | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_SESSION_HANDLE_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_SESSION_PARALLEL_NOT_SUPPORTED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_SESSION_READ_ONLY | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_SESSION_READ_ONLY_EXISTS | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_SESSION_READ_WRITE_SO_EXISTS | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_SIGNATURE_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_SIGNATURE_LEN_RANGE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_SLOT_ID_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_STATE_UNSAVEABLE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_TEMPLATE_INCOMPLETE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_TEMPLATE_INCONSISTENT | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_TOKEN_NOT_PRESENT | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_TOKEN_NOT_RECOGNIZED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_TOKEN_RESOURCE_EXCEEDED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_TOKEN_WRITE_PROTECTED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_UNWRAPPING_KEY_HANDLE_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_UNWRAPPING_KEY_SIZE_RANGE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_USER_ALREADY_LOGGED_IN | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_USER_ANOTHER_ALREADY_LOGGED_IN | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_USER_NOT_LOGGED_IN | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_USER_PIN_NOT_INITIALIZED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_USER_TOO_MANY_TYPES | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_USER_TYPE_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_VENDOR_DEFINED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_WRAPPED_KEY_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_WRAPPED_KEY_LEN_RANGE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_WRAPPING_KEY_HANDLE_INVALID | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_WRAPPING_KEY_SIZE_RANGE | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_WRAPPING_KEY_TYPE_INCONSISTENT | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| value | back to summary |
|---|---|
| private final long value | |
| RV | back to summary |
|---|---|
| private RV(long value) | |
| valueOf | back to summary |
|---|---|
| public static PKCS11Exception. | |
| values | back to summary |
|---|---|
| public static PKCS11Exception. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final PKCS11Exception. | |
| public static final PKCS11Exception. | |
| private final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static PKCS11Exception. | |
| public static PKCS11Exception. |
| CKR_NSS_CERTDB_FAILED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| CKR_NSS_KEYDB_FAILED | back to summary |
|---|---|
| public static final PKCS11Exception. | |
| value | back to summary |
|---|---|
| private final long value | |
| RV_VENDOR | back to summary |
|---|---|
| private RV_VENDOR(long value) | |
| valueOf | back to summary |
|---|---|
| public static PKCS11Exception. | |
| values | back to summary |
|---|---|
| public static PKCS11Exception. | |