Enum WalletSecureEnrollmentErrorCodes
- java.lang.Object
-
- java.lang.Enum<WalletSecureEnrollmentErrorCodes>
-
- com.gemalto.mfs.mwsdk.provisioning.model.WalletSecureEnrollmentErrorCodes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WalletSecureEnrollmentErrorCodes>
public enum WalletSecureEnrollmentErrorCodes extends java.lang.Enum<WalletSecureEnrollmentErrorCodes>
This class represents the errors occurred during performing wallet secure enrollment.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMON_COMM_ERROR
Communication error occurred while performing request to the server.COMMON_NO_INTERNET
Internet is not available.COMMON_SERVER_ERROR
Error received from the server.DEVICE_SUSPICIOUS
Error returned when Device is suspicious.JSON_PARSING_ERROR
JSON parsing error during the request.RE_ENROLLMENT_REQUIRED
For security reason, the user needs to re-enroll the application.WSE_ASM_ERROR
ASM Error.WSE_CPS_COMPONENT_NOT_INITIALIZED
CPS component not initialized.WSE_DOWNLOAD_ERROR
Error linked to downloading of resources.WSE_ERROR_COMPUTE_AUTH_VALUE_FAILED_CERT_EXCEPTION
Failed to compute auth value forinitSession
, this can happen when get app public key hash has exception about certification issues.WSE_ERROR_COMPUTE_AUTH_VALUE_FAILED_PACKAGE_NOT_FOUND
Failed to compute auth value forinitSession
, this can happen when get app public key hash has exception about package name not found.WSE_ERROR_INIT_SESSION
Init session error.WSE_INTERNAL_ERROR
Internal renewal errorWSE_KCV_ERROR
Error returned when KCV is wrong.WSE_LUK_NOT_FOUND
LUK not found.WSE_LUK_REPLACEMENT_ERROR
LUK replacement failed.WSE_MG_COMPONENT_NOT_INITIALIZED
MobileGateway not initialized.WSE_REQUEST_ERROR
Enrollment request failed.WSE_STORAGE_ACCESS_ERROR
SDK Wallet Secure enrollment internal storage access error.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WalletSecureEnrollmentErrorCodes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WalletSecureEnrollmentErrorCodes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WSE_INTERNAL_ERROR
public static final WalletSecureEnrollmentErrorCodes WSE_INTERNAL_ERROR
Internal renewal error
-
COMMON_NO_INTERNET
public static final WalletSecureEnrollmentErrorCodes COMMON_NO_INTERNET
Internet is not available.
This error is also returned if the client has attempted several times to connect but not able to due to very weak network signal. Please try again with good internet connection
-
COMMON_COMM_ERROR
public static final WalletSecureEnrollmentErrorCodes COMMON_COMM_ERROR
Communication error occurred while performing request to the server. Please try again with good internet connection
-
COMMON_SERVER_ERROR
public static final WalletSecureEnrollmentErrorCodes COMMON_SERVER_ERROR
Error received from the server.
-
RE_ENROLLMENT_REQUIRED
public static final WalletSecureEnrollmentErrorCodes RE_ENROLLMENT_REQUIRED
For security reason, the user needs to re-enroll the application.
-
WSE_STORAGE_ACCESS_ERROR
public static final WalletSecureEnrollmentErrorCodes WSE_STORAGE_ACCESS_ERROR
SDK Wallet Secure enrollment internal storage access error. Please try again and if error keeps happening , please perform wipe all of SDK and try again.
-
JSON_PARSING_ERROR
public static final WalletSecureEnrollmentErrorCodes JSON_PARSING_ERROR
JSON parsing error during the request.
-
WSE_REQUEST_ERROR
public static final WalletSecureEnrollmentErrorCodes WSE_REQUEST_ERROR
Enrollment request failed.
-
WSE_DOWNLOAD_ERROR
public static final WalletSecureEnrollmentErrorCodes WSE_DOWNLOAD_ERROR
Error linked to downloading of resources. Please try again with good internet connection
-
WSE_LUK_REPLACEMENT_ERROR
public static final WalletSecureEnrollmentErrorCodes WSE_LUK_REPLACEMENT_ERROR
LUK replacement failed.
-
WSE_LUK_NOT_FOUND
public static final WalletSecureEnrollmentErrorCodes WSE_LUK_NOT_FOUND
LUK not found.
-
WSE_ERROR_INIT_SESSION
public static final WalletSecureEnrollmentErrorCodes WSE_ERROR_INIT_SESSION
Init session error.
-
WSE_ERROR_COMPUTE_AUTH_VALUE_FAILED_PACKAGE_NOT_FOUND
public static final WalletSecureEnrollmentErrorCodes WSE_ERROR_COMPUTE_AUTH_VALUE_FAILED_PACKAGE_NOT_FOUND
Failed to compute auth value forinitSession
, this can happen when get app public key hash has exception about package name not found.
-
WSE_ERROR_COMPUTE_AUTH_VALUE_FAILED_CERT_EXCEPTION
public static final WalletSecureEnrollmentErrorCodes WSE_ERROR_COMPUTE_AUTH_VALUE_FAILED_CERT_EXCEPTION
Failed to compute auth value forinitSession
, this can happen when get app public key hash has exception about certification issues.
-
WSE_ASM_ERROR
public static final WalletSecureEnrollmentErrorCodes WSE_ASM_ERROR
ASM Error.
-
WSE_CPS_COMPONENT_NOT_INITIALIZED
public static final WalletSecureEnrollmentErrorCodes WSE_CPS_COMPONENT_NOT_INITIALIZED
CPS component not initialized. Make sure CPS component is fully initialized.- Since:
- 6.4.3
-
WSE_MG_COMPONENT_NOT_INITIALIZED
public static final WalletSecureEnrollmentErrorCodes WSE_MG_COMPONENT_NOT_INITIALIZED
MobileGateway not initialized. Make sure MobileGateway is fully initialized.- Since:
- 6.4.3
-
DEVICE_SUSPICIOUS
public static final WalletSecureEnrollmentErrorCodes DEVICE_SUSPICIOUS
Error returned when Device is suspicious. This operation cannot continue.- Since:
- 6.5.0
-
WSE_KCV_ERROR
public static final WalletSecureEnrollmentErrorCodes WSE_KCV_ERROR
Error returned when KCV is wrong. This operation cannot continue.- Since:
- 6.6.0
-
-
Method Detail
-
values
public static WalletSecureEnrollmentErrorCodes[] 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 (WalletSecureEnrollmentErrorCodes c : WalletSecureEnrollmentErrorCodes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WalletSecureEnrollmentErrorCodes valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-