EMStatus
Objective-C
enum EMStatus {}
Swift
struct EMStatus : Equatable, RawRepresentable
General status sodes for EzioMobileSDK operations.
Since
3.0-
Operation has succeeded.
Declaration
Objective-C
EM_STATUS_SUCCESS = 0 -
Unspecified error.
Declaration
Objective-C
EM_STATUS_UNSPECIFIED_ERROR = -100 -
One or more arguments are invalid.
Declaration
Objective-C
EM_STATUS_INVALID_ARGUMENT = -101 -
An output buffer has insufficient size.
Declaration
Objective-C
EM_STATUS_BUFFER_TOO_SMALL = -102 -
An input buffer is larger than the supported size.
Declaration
Objective-C
EM_STATUS_BUFFER_TOO_LARGE = -103 -
The response body is malformed.
Declaration
Objective-C
EM_STATUS_BODY_PARSE_ERROR = -104 -
A cryptographic operation could not be performed.
Declaration
Objective-C
EM_STATUS_CRYPTO_ERROR = -105 -
Occurs when the counter has reached its max value.
Declaration
Objective-C
EM_STATUS_WRAPPED_COUNTER = -106 -
Out of memory.
Declaration
Objective-C
EM_STATUS_OOM = -107 -
A check digit failed, e.g. verhoeff.
Declaration
Objective-C
EM_STATUS_INVALID_CHECK_DIGIT = -108 -
Secure Random error.
Declaration
Objective-C
EM_STATUS_SEC_RAND_ERROR = -109 -
Value for Token IO key is not set yet.
Declaration
Objective-C
EM_STATUS_IO_UNINITIALIZED_KEY = -110 -
Unknown key value for Token IO.
Declaration
Objective-C
EM_STATUS_IO_UNEXPECTED_KEY = -111 -
Keychain element is already present.
Declaration
Objective-C
EM_STATUS_EXISTING_KEYCHAIN_ELEMENT = -112 -
Unknown keychain element.
Declaration
Objective-C
EM_STATUS_UNKNOWN_KEYCHAIN_ELEMENT = -113 -
An error occurred during keychain operation.
Declaration
Objective-C
EM_STATUS_UNEXPECTED_KEYCHAIN_ERROR = -114 -
Invalid IV length for the corresponding algorithm.
Declaration
Objective-C
EM_STATUS_CRYPTO_INVALID_IV_LENGTH = -115 -
Unknown mode of operation for crypto.
Declaration
Objective-C
EM_STATUS_CRYPTO_UNKNOWN_MODE = -116 -
Unknown crypto algorithm
Declaration
Objective-C
EM_STATUS_CRYPTO_UNKNOWN_ALGO = -117 -
Secure scheme version for EEK is not supported.
Declaration
Objective-C
EM_STATUS_SECURE_SCHEME_INVALID_FOR_EEK = -118 -
Secure scheme version for SEK is not supported.
Declaration
Objective-C
EM_STATUS_SECURE_SCHEME_INVALID_FOR_SEK = -119 -
Secure scheme version for SAK is not supported.
Declaration
Objective-C
EM_STATUS_SECURE_SCHEME_INVALID_FOR_SAK = -120 -
An error occurred when copying a CFType.
Declaration
Objective-C
EM_STATUS_FAIL_TO_COPY_AN_OBJECT = -121 -
Legacy fingerprint generated an error.
Declaration
Objective-C
EM_STATUS_FAIL_TO_COMPUTE_LEGACY_FP = -122 -
Object is in illegal state.
Declaration
Objective-C
EM_STATUS_ILLEGAL_STATE = -123 -
A native constructor has failed.
Declaration
Objective-C
EM_STATUS_FAIL_NATIVE_CTOR = -124 -
The token type is invalid for the requested operation.
Declaration
Objective-C
EM_STATUS_INVALID_TOKEN_TYPE = -125 -
HMAC verification failed.
Declaration
Objective-C
EM_STATUS_INVALID_HMAC = -126 -
Operation is not supported in dual seeds mode.
Declaration
Objective-C
EM_STATUS_OPERATION_NOT_SUPPORTED_IN_DUAL_SEED_MODE = -127 -
Invalid input character in PIN.
Declaration
Objective-C
EM_STATUS_INVALID_CHARACTER_IN_PIN = -128 -
Invalid index character in PIN data.
Declaration
Objective-C
EM_STATUS_INVALID_INDEX_IN_PIN = -129 -
Mother key not valid
Declaration
Objective-C
EM_STATUS_INVALID_MOTHER_KEY = -130 -
Data corruption reprovision needed
Declaration
Objective-C
EM_STATUS_MOTHER_KEY_COLLISION = -131 -
Invalid uuid length
Declaration
Objective-C
EM_STATUS_INVALID_UUID_LENGTH = -132 -
Fingerprint domain error
Declaration
Objective-C
EM_STATUS_FINGERPRINT_DOMAIN_ERRROR = -133 -
Fingerprint update error
Declaration
Objective-C
EM_STATUS_FINGERPRINT_UPDATE_FAILED_IDENTICAL_POLICY_ERROR = -134 -
Database error.
Declaration
Objective-C
EM_STATUS_DATABASE_ERROR = -300 -
Database no record found..
Declaration
Objective-C
EM_STATUS_DATABASE_NO_RECORD_FOUND = -301 -
The registration request failed. Something wrong with IPMS (see OOB_SUB_CODE).
Declaration
Objective-C
EM_STATUS_OOB_REGISTRATION_FAILED = -400 -
Invalid OOB Registration data. Some data may be
nilmethod may be unsupported.Declaration
Objective-C
EM_STATUS_OOB_INVALID_REGISTRATION_DATA = -401 -
The unregistration request failed. Something wrong with IPMS (see OOB_SUB_CODE).
Declaration
Objective-C
EM_STATUS_OOB_UNREGISTRATION_FAILED = -402 -
The notification profile request failed. Something wrong with IPMS (see OOB_SUB_CODE).
Declaration
Objective-C
EM_STATUS_OOB_NOTIFICATION_FAILED = -403 -
The message request failed. Something wrong with IPMS (see OOB_SUB_CODE).
Declaration
Objective-C
EM_STATUS_OOB_MESSAGE_FAILED = -404 -
The oob initialization failed.
Declaration
Objective-C
EM_STATUS_OOB_INIT_FAILED = -405 -
An error occurred when serializing the message in JSON.
Declaration
Objective-C
EM_STATUS_OOB_SEND_JSON_CREATION = -500 -
Generic password failure, e.g. error in operation such as wiping password that does not exist, etc.
Declaration
Objective-C
EM_STATUS_PASSWORD_MANAGER_GENERIC_FAILURE = -600 -
User has not logged in. Requires log-in to continue
Declaration
Objective-C
EM_STATUS_PASSWORD_MANAGER_NOT_LOGGED_IN = -601 -
Operation could not proceed correctly because the password was not set.
Declaration
Objective-C
EM_STATUS_PASSWORD_MANAGER_PASSWORD_NOT_SET = -602 -
The password supplied was not correct, or was trying to perform operation while not logged in.
Declaration
Objective-C
EM_STATUS_PASSWORD_MANAGER_INCORRECT_PASSWORD = -603 -
Unexpected error in password storage access even if conditions are met.
Declaration
Objective-C
EM_STATUS_PASSWORD_MANAGER_UNKNOWN_INTERNAL_ERROR = -604 -
Duplicate Password Id Exists.
Declaration
Objective-C
EM_STATUS_PASSWORD_MANAGER_DUPLICATE_PASSWORDID = -605 -
Generic secure storage failure, e.g.
Declaration
Objective-C
EM_STATUS_SECURE_STORAGE_GENERIC_FAILURE = -701 -
Property not exist
Declaration
Objective-C
EM_STATUS_SECURE_STORAGE_PROPERTY_NOT_EXIST = -702 -
Property storage with different security level exist
Declaration
Objective-C
EM_STATUS_SECURE_STORAGE_WITH_IDENTIFIER_EXISTS_WITH_DIFFERENT_SECURITY = -703 -
Biometric fingerprint is not supported
Declaration
Objective-C
EM_STATUS_BIO_FINGERPRINT_API_NOT_SUPPORTED = -800 -
User can not be authenticate
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_FAILED = -801 -
User cancel the authentication
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_CANCEL = -802 -
Bio fingerprint is already activate for this token and user
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_ALREADY_REGISTERED = -803 -
Authentication was canceled, because the user tapped the fallback button (Enter Password).
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_CANCELED_USER_FALLBACK = -804 -
Authentication was canceled by system (e.g. another application went to foreground).
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_CANCELED_BY_SYSTEM = -805 -
Authentication could not start, because passcode is not set on the device.
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_ERROR_PASSCODE_NOT_SET = -806 -
Authentication could not start, because BIO fingerprint is not available on the device.
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_ERROR_NOT_AVAILABLE = -807 -
Authentication could not start, because BIO fingerprint has no enrolled fingers.
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_ERROR_NOT_ENROLLED = -808 -
Authentication was not successful, because there were too many failed BIO fingerprint attempts and api is now locked. Passcode is required to unlock it, e.g. using bio fingerprint api will ask for passcode as a prerequisite.
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_ERROR_API_LOCKED = -809 -
Change pin action is forbidden while BioFpMode is active
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_CHANGEPIN_NOT_AVAILABLE = -810 -
Authentication was canceled by user (e.g. tapped Cancel button).
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_CANCELED_BY_USER = -811 -
Authentication was not successful, because there were too many failed Touch ID attempts and Touch ID is now locked. Passcode is required to unlock Touch ID, e.g. evaluating LAPolicyDeviceOwnerAuthenticationWithBiometrics will ask for passcode as a prerequisite.
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_TOUCH_ID_LOCKOUT = -812 -
Authentication was not successful, because there were too many failed Touch ID attempts and Touch ID is now locked. Passcode is required to unlock Touch ID, e.g. evaluating LAPolicyDeviceOwnerAuthenticationWithBiometrics will ask for passcode as a prerequisite.
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_BIOMETRY_LOCKOUT = EM_STATUS_AUTHENTICATION_TOUCH_ID_LOCKOUT -
Authentication was canceled by application (e.g. invalidate was called while authentication was in progress).
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_CANCELED_BY_APP = -813 -
Authentication user fallback is not supported.
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_USER_FALLBACK_IS_NOT_SUPPORTED = -814 -
System Face ID is not supported
Declaration
Objective-C
EM_STATUS_SYSTEM_FACEID_API_NOT_SUPPORTED = -815 -
Biometric fingerprint is not configured
Declaration
Objective-C
EM_STATUS_BIO_FINGERPRINT_API_NOT_CONFIGURED = -816 -
System Face ID is not configured
Declaration
Objective-C
EM_STATUS_SYSTEM_FACEID_API_NOT_CONFIGURED = -817 -
Biometric fingerprint service is not supported
Declaration
Objective-C
EM_STATUS_BIO_FINGERPRINT_SERVICE_NOT_SUPPORTED = -818 -
System Face ID service is not supported
Declaration
Objective-C
EM_STATUS_SYSTEM_FACEID_SERVICE_NOT_SUPPORTED = -819 -
Bio fingerprint/FaceId is not registered for this token and user
Declaration
Objective-C
EM_STATUS_AUTHENTICATION_NOT_REGISTERED = -820 -
Change pin action is forbidden while BioFpMode is active
Declaration
Objective-C
EM_STATUS_AUTOENROLMENT_GENERIC_FAILED = -900 -
MSP success
Declaration
Objective-C
EM_STATUS_MSP_SUCCESS = -1200 -
MSP frame data format is unknown. Bad frame.
Declaration
Objective-C
EM_STATUS_MSP_UNKNOWN_DATA_FORMAT = -1201 -
MSP frame signature is invalid
Declaration
Objective-C
EM_STATUS_MSP_INVALID_FRAME_SIGNATURE = -1202 -
MSP deobfuscation error
Declaration
Objective-C
EM_STATUS_MSP_DEOBFUSCATION = -1203 -
MSP frame is not supported by this library
Declaration
Objective-C
EM_STATUS_MSP_NOT_SUPPORTED_FRAME = -1204 -
MSP frame device type is not supported
Declaration
Objective-C
EM_STATUS_MSP_NOT_SUPPORTED_DEVICE = -1205 -
MSP frame version is not supported. Need to upgrade the library to support higher version
Declaration
Objective-C
EM_STATUS_MSP_NOT_SUPPORTED_UPGRADE = -1206 -
MSP frame invalid argument is supplied
Declaration
Objective-C
EM_STATUS_MSP_INVALID_PARAMETER = -1207 -
MSP frame memory allocation failed
Declaration
Objective-C
EM_STATUS_MSP_MEMORY_ALLOCATION = -1208 -
Database no record does not have proper encryption layers for such operation.
Declaration
Objective-C
EM_STATUS_GLOBAL_DB_WRONG_ENCRYPTION = -1400 -
Database no record found.
Declaration
Objective-C
EM_STATUS_GLOBAL_DB_NO_RECORD_FOUND = -1401 -
Failed to lock or unlock mutex.
Declaration
Objective-C
EM_STATUS_GLOBAL_DB_MUTEX_ERROR = -1402 -
Transaction is read only.
Declaration
Objective-C
EM_STATUS_GLOBAL_DB_READ_ONLY_TRANS = -1403 -
Generic SQL error, check log for more details.
Declaration
Objective-C
EM_STATUS_GLOBAL_DB_SQL_ERROR = -1404 -
Someone tries to remove column during table migration.
Declaration
Objective-C
EM_STATUS_GLOBAL_DB_CANT_REMOVE_COLUMN = -1405 -
Table can’t have lower version than existing one.
Declaration
Objective-C
EM_STATUS_GLOBAL_DB_WRONG_TABLE_VERSION = -1406 -
Something went wrong during migration.
Declaration
Objective-C
EM_STATUS_GLOBAL_DB_MIGRATION_ERROR = -1407 -
Unable to parse json data.
Declaration
Objective-C
EM_STATUS_INCORRECT_JSON_DATA = -1500 -
This token is not supported. Please check the server configuration and re-provision. The feature is currently not supported by SDK client.
Declaration
Objective-C
EM_STATUS_TOKEN_IS_NOT_SUPPORTED = -1600 -
EzioMobileSDK Secure Random generic error. This error may happens when SDK fails to generate Secure Random number It is unlikely to happen
Since
5.2Declaration
Objective-C
EM_STATUS_SPRNG_FAILED = -3000 -
EzioMobileSDK Secure Random fails to perform Chi Square Test This error shows that there is an attempt to modify the System by tampering the result of Random Number
Since
5.2Declaration
Objective-C
EM_STATUS_SPRNG_SELF_TEST_ERROR = -3001 -
Encrypted SecureKeypad Encryption state is not initialized correctly.
Since
6.2Declaration
Objective-C
EM_STATUS_ESK_ENCRYPTION_NOT_INITIALIZED = -4000 -
RSA key size not in expected range for SecureKeypad Encryption.
Since
6.2Declaration
Objective-C
EM_STATUS_ESK_ENCRYPTION_INVALID_KEY_SIZE = -4001
EMStatus Enumeration Reference