Enumerations
The following enumerations are available globally.
-
The error that will be returned when a failure occurs during the CAS E2EE operation..
See moreSince
6.1.0Declaration
Objective-C
enum EMCCasError : NSInteger {}Swift
typealias EMCCasError.Code._ErrorType = EMCCasError -
Declaration
Objective-C
enum EMCEncryptionVersion : NSUInteger {}Swift
enum EMCEncryptionVersion : UInt, @unchecked Sendable -
Declaration
Objective-C
enum EMCPasswordEncoding : NSUInteger {}Swift
enum EMCPasswordEncoding : UInt, @unchecked Sendable -
The defined anti-cloning types.
Seals the user’s credentials. A factory reset/initialization of the device will make the credentials unusable.
Requirements: None@warning: If
See moreEMDeviceFingerprintTypeSoft \ EMDeviceFingerprintTypeHardwareKeyis used, user cannot restore the previous data after either a factory reset, or re-initializing of the same deviceDeclaration
Objective-C
enum EMDeviceFingerprintType : NSUInteger {}Swift
enum EMDeviceFingerprintType : UInt, @unchecked Sendable -
The supported modes for DS CAP.
See moreDeclaration
Objective-C
enum EMDsCapMode : NSInteger {}Swift
enum EMDsCapMode : Int, @unchecked Sendable -
The supported domains for Dynamic Signature using GPF.
See moreDeclaration
Objective-C
enum EMDomainType : NSInteger {}Swift
enum EMDomainType : Int, @unchecked Sendable -
The supported check digit algorithms for challenge.
See moreDeclaration
Objective-C
enum EMVerifyType : NSInteger {}Swift
enum EMVerifyType : Int, @unchecked Sendable -
Declaration
Objective-C
enum EMDskppPinType : NSUInteger {}Swift
enum EMDskppPinType : UInt, @unchecked Sendable -
Declaration
Objective-C
enum EMDskppPinComplexity : NSUInteger {}Swift
enum EMDskppPinComplexity : UInt, @unchecked Sendable -
Declaration
Objective-C
enum EMDskppPolicyParamType : NSInteger {}Swift
enum EMDskppPolicyParamType : Int, @unchecked Sendable -
Declaration
Objective-C
enum EMEmvDataObjectType {}Swift
struct EMEmvDataObjectType : Equatable, RawRepresentable -
Represents a value of ‘Tip or Convenience Indicator’ data object if present in the QR code.
See moreSince
5.0Declaration
Objective-C
enum EMEmvTipOrConvenienceIndicator {}Swift
struct EMEmvTipOrConvenienceIndicator : Equatable, RawRepresentable -
Represents a value of ‘Point of Initiation Method’ data object if present in the QR code.
See moreDeclaration
Objective-C
enum EMEmvPointOfInitiationMethod {}Swift
struct EMEmvPointOfInitiationMethod : Equatable, RawRepresentable -
Represents the allowed input format of the data.
See moreDeclaration
Objective-C
enum EMPrimitiveInputFormat : int {}Swift
enum EMPrimitiveInputFormat : Int32, @unchecked Sendable -
Declaration
Objective-C
enum EMJailbreakErrorCode : NSInteger {}Swift
enum EMJailbreakErrorCode : Int, @unchecked Sendable -
Declaration
Objective-C
enum EMMspBaseAlgorithm : NSInteger {}Swift
enum EMMspBaseAlgorithm : Int, @unchecked Sendable -
Declaration
Objective-C
enum FieldCompleteness : NSInteger {}Swift
enum FieldCompleteness : Int, @unchecked Sendable -
Msp Frame Type Constants
See moreDeclaration
Objective-C
enum EMMspFrameType : NSInteger {}Swift
enum EMMspFrameType : Int, @unchecked Sendable -
Declaration
Objective-C
enum EMOobErrorMessageCode : NSUInteger {}Swift
enum EMOobErrorMessageCode : UInt, @unchecked Sendable -
The OOB behavior policy of the Mobile Protector SDK when the physical device is detected as being rooted.
See moreSince
4.0Declaration
Objective-C
enum EMOobJailbreakPolicy : NSInteger {}Swift
enum EMOobJailbreakPolicy : Int, @unchecked Sendable -
Declaration
Objective-C
enum EMOobRegistrationMethod : NSUInteger {}Swift
enum EMOobRegistrationMethod : UInt, @unchecked Sendable -
Declaration
Objective-C
enum EMOobResultCode : NSUInteger {}Swift
enum EMOobResultCode : UInt, @unchecked Sendable -
Declaration
Objective-C
enum EMOobTransactionSigningResponseValue : NSUInteger {}Swift
enum EMOobTransactionSigningResponseValue : UInt, @unchecked Sendable -
Declaration
Objective-C
enum EMOobTransactionVerifyResponseValue : NSUInteger {}Swift
enum EMOobTransactionVerifyResponseValue : UInt, @unchecked Sendable -
The supported scramble modes for OTPs.
See moreDeclaration
Objective-C
enum EMScrambleType : NSInteger {}Swift
enum EMScrambleType : Int, @unchecked Sendable -
The supported formatting modes for Otps.
See moreDeclaration
Objective-C
enum EMFormatType : NSInteger {}Swift
enum EMFormatType : Int, @unchecked Sendable -
NSError codes for EMPinRuleErrorDomain
See moreDeclaration
Objective-C
enum EMPinRuleErrorCode : NSInteger {}Swift
enum EMPinRuleErrorCode : Int, @unchecked Sendable -
The defined types of primitives
See moreDeclaration
Objective-C
enum EMPrimitiveType : int {}Swift
enum EMPrimitiveType : Int32, @unchecked Sendable -
The supported Provisioning protocols
See moreDeclaration
Objective-C
enum EMMobileProvisioningProtocol : int {}Swift
enum EMMobileProvisioningProtocol : Int32, @unchecked Sendable -
Declaration
Objective-C
enum EMDskppProvisioningProtocol : int {}Swift
enum EMDskppProvisioningProtocol : Int32, @unchecked Sendable -
Declaration
Objective-C
enum EMResetModule : NSUInteger {}Swift
enum EMResetModule : UInt, @unchecked Sendable -
Secure Input Builder v2 constants
Callback blocks that need to be passed along as EMPinAuthInput objects when creating a new secure input UI to receive events (Please take note that the clear text of passwords are not able to be extracted from EMPinAuthInput objects):
typedef void (^EMSecureInputUiOnFinish)(id<EMPinAuthInput> firstPin, id<EMPinAuthInput> secondPin);Callback blocks that need to be passed along as NSData objects when creating a new secure input UI to receive events (Please take note that the data encoding is NSUTF16StringEncoding):
typedef void (^EMSecureInputUiOnFinishClearText)(NSData *firstPin, NSData *secondPin);Default show navigation bar:
#define EMSecureInputBuilder_DEFAULT_SHOW_NAVIGATION_BAR NODefault keys:
#define EMSecureInputBuilder_DEFAULT_KEYS @"1234567890"Default button border width:
#define EMSecureInputBuilder_DEFAULT_BUTTON_BORDER_WIDTH 1Default button border color:
#define EMSecureInputBuilder_DEFAULT_BUTTON_BORDER_COLOR EMUIColorFromRGBA(0xFFFFFFFF)Default keypad frame color and default keypad gradient start and end colors:
#define EMSecureInputBuilder_DEFAULT_KEYPAD_FRAME_COLOR EMUIColorFromRGBA(0x000000FF)Default number of columns:
#define EMSecureInputBuilder_DEFAULT_NO_OF_COLUMNS 3Default number of rows:
#define EMSecureInputBuilder_DEFAULT_NO_OF_ROWS 4Default screen background color:
#define EMSecureInputBuilder_DEFAULT_SCREEN_BACKGROUND_COLOR EMUIColorFromRGBA(0xFFFFFFFF)Default logo bar background color:
#define EMSecureInputBuilder_DEFAULT_LOGO_BAR_BACKGROUND_COLOR EMUIColorFromRGBA(0xFFFFFFFF)Default logo position:
#define EMSecureInputBuilder_DEFAULT_LOGO_POSITION EMSecureInputUiLogoPositionCenterDefault color:
#define EMSecureInputBuilder_DEFAULT_KEY_COLOR EMUIColorFromRGBA(0x1b346cFF) #define EMSecureInputBuilder_DEFAULT_KEY_SELECTED_COLOR EMUIColorFromRGBA(0x1b346cFF) #define EMSecureInputBuilder_DEFAULT_KEY_DISABLED_COLOR EMUIColorFromRGBA(0x1b346cFF) #define EMSecureInputBuilder_DEFAULT_BUTTON_BACKGROUND_COLOR EMUIColorFromRGBA(0xFFFFFFFF) #define EMSecureInputBuilder_DEFAULT_BUTTON_BACKGROUND_SELECTED_COLOR EMUIColorFromRGBA(0x1b346c3F) #define EMSecureInputBuilder_DEFAULT_BUTTON_BACKGROUND_DISABLED_COLOR EMUIColorFromRGBA(0xFFFFFFFF) #define EMSecureInputBuilder_DEFAULT_OK_BUTTON_TEXT_COLOR EMUIColorFromRGBA(0x48a948ff) #define EMSecureInputBuilder_DEFAULT_OK_BUTTON_SELECTED_TEXT_COLOR EMUIColorFromRGBA(0x48a948ff) #define EMSecureInputBuilder_DEFAULT_OK_BUTTON_DISABLED_TEXT_COLOR EMUIColorFromRGBA(0xcccccc3f) #define EMSecureInputBuilder_DEFAULT_DELETE_BUTTON_TEXT_COLOR EMUIColorFromRGBA(0xdf0832ff) #define EMSecureInputBuilder_DEFAULT_DELETE_BUTTON_SELECTED_TEXT_COLOR EMUIColorFromRGBA(0xdf0832ff) #define EMSecureInputBuilder_DEFAULT_DELETE_BUTTON_DISABLED_TEXT_COLOR EMUIColorFromRGBA(0xcccccc3f) #define EMSecureInputBuilder_DEFAULT_SHIFT_BUTTON_TEXT_COLOR EMUIColorFromRGBA(0x48a948ff) #define EMSecureInputBuilder_DEFAULT_SHIFT_BUTTON_SELECTED_TEXT_COLOR EMUIColorFromRGBA(0x48a948ff)Default visible button press:
// Note: For security reason, it's disabled by default. User won't be able to see // the selected state when the button is pressed. #define EMSecureInputBuilder_DEFAULT_VISIBLE_BUTTON_PRESS NODefault display text:
#define EMSecureInputBuilder_DEFAULT_FIRST_LABEL @"Enter PIN" #define EMSecureInputBuilder_DEFAULT_SECOND_LABEL @"Confirm PIN"Default display color:
#define EMSecureInputBuilder_DEFAULT_LABEL_COLOR EMUIColorFromRGBA(0x1b346cFF)Default label font size:
#define EMSecureInputBuilder_DEFAULT_LABEL_FONT_SIZE 20Default label alignment:
#define EMSecureInputBuilder_DEFAULT_LABEL_ALIGNMENT EMSecureInputUiLabelAlignmentCenterDefault input field font size: #define EMSecureInputBuilder_DEFAULT_INPUT_FIELD_FONT_SIZE 20
Default input length:
#define EMSecureInputBuilder_DEFAULT_MINIMUM_INPUT_LENGTH 4 #define EMSecureInputBuilder_DEFAULT_MAXIMUM_INPUT_LENGTH 8Default keypad height ratio:
#define EMSecureInputBuilder_DEFAULT_KEYPAD_HEIGHT_RATIO 0.5Default OK button behavior:
#define EMSecureInputBuilder_DEFAULT_OK_BUTTON_BEHAVIOR EMSecureInputUiOkButtonAutomaticallyEnabledDefault button image opacity:
#define EMSecureInputBuilder_DEFAULT_BUTTON_IMAGE_OPACITY 1.0Default input field background and border color (focus and unfocus):
#define EMSecureInputBuilder_DEFAULT_INPUT_FIELD_BACKGROUND_FOCUS_COLOR EMUIColorFromRGBA(0x1b346c7f) #define EMSecureInputBuilder_DEFAULT_INPUT_FIELD_BACKGROUND_UNFOCUS_COLOR EMUIColorFromRGBA(0x1b346c3F) #define EMSecureInputBuilder_DEFAULT_INPUT_FIELD_FOCUS_COLOR EMUIColorFromRGBA(0x1b346c8F) #define EMSecureInputBuilder_DEFAULT_INPUT_FIELD_UNFOCUS_COLOR EMUIColorFromRGBA(0x1b346c3F)Default font for key button, OK button and Delete button:
#define EMSecureInputBuilder_DEFAULT_BUTTON_FONT_NAME @"ArialMT" #define EMSecureInputBuilder_DEFAULT_BUTTON_FONT_SIZE 24Default OK button name:
#define EMSecureInputBuilder_DEFAULT_OK_BUTTON_NAME @"OK"Default Delete button name:
#define EMSecureInputBuilder_DEFAULT_DELETE_BUTTON_NAME @" ⌫ "Default Shift button name:
#define EMSecureInputBuilder_DEFAULT_SHIFT_BUTTON_NAME @" ⇧ "Default Back button name:
#define EMSecureInputBuilder_DEFAULT_BACK_BUTTON_NAME @"Back"Default Delete button enable:
#define EMSecureInputBuilder_DEFAULT_DELETE_BUTTON_ALWAYS_ENABLE NOSee moreSince
4.4Declaration
Objective-C
enum EMSecureInputBuilderDefaultConfigurations : NSInteger {}Swift
enum EMSecureInputBuilderDefaultConfigurations : Int, @unchecked Sendable -
Secure input UI logo position. It determines the drawing position of the logo image.
See moreSince
4.4Declaration
Objective-C
enum EMSecureInputUiLogoPosition : NSInteger {}Swift
enum EMSecureInputUiLogoPosition : Int, @unchecked Sendable -
Declaration
Objective-C
enum EMSecureInputUiBackgroundImageContentMode : NSInteger {}Swift
enum EMSecureInputUiBackgroundImageContentMode : Int, @unchecked Sendable -
Secure input UI label alignment. It determines the alignment of both first and second label.
See moreSince
4.4Declaration
Objective-C
enum EMSecureInputUiLabelAlignment : NSInteger {}Swift
enum EMSecureInputUiLabelAlignment : Int, @unchecked Sendable -
Secure input UI control focus state. It determines the focus state of both first and second input field.
See moreSince
4.4Declaration
Objective-C
enum EMSecureInputUiControlFocusState : NSInteger {}Swift
enum EMSecureInputUiControlFocusState : Int, @unchecked Sendable -
Secure input UI control state. It determines the state of all the buttons on the keypad.
See moreSince
4.4Declaration
Objective-C
enum EMSecureInputUiControlState : NSInteger {}Swift
enum EMSecureInputUiControlState : Int, @unchecked Sendable -
Declaration
Objective-C
enum EMSecureInputUiOkButtonBehavior : NSInteger {}Swift
enum EMSecureInputUiOkButtonBehavior : Int, @unchecked Sendable -
Declaration
Objective-C
enum EMButtonTouchVisualEffect : NSInteger {}Swift
enum EMButtonTouchVisualEffect : Int, @unchecked Sendable -
Declaration
Objective-C
enum EMSecureInputUiDisplayMode : NSInteger {}Swift
enum EMSecureInputUiDisplayMode : Int, @unchecked Sendable -
Enum values for the encryption mode. Find more details in the developer document.
See moreSince
6.2Declaration
Objective-C
enum EMSecureInputEncryptionMode : NSInteger {}Swift
enum EMSecureInputEncryptionMode : Int, @unchecked Sendable -
Declaration
Objective-C
enum EMHookingDetectionPolicy {}Swift
struct EMHookingDetectionPolicy : Equatable, RawRepresentable -
Enum type containing the possible handling when detecting device integrity compromise.
See moreSince
6.7.0Declaration
Objective-C
enum EMDeviceIntegrityDetectionPolicy {}Swift
struct EMDeviceIntegrityDetectionPolicy : Equatable, RawRepresentable -
NSError codes for EMPinErrorDomain
See moreDeclaration
Objective-C
enum EMPinErrorCode : NSInteger {}Swift
enum EMPinErrorCode : Int, @unchecked Sendable -
Supported hash algorithms for HMAC computation
See moreDeclaration
Objective-C
enum EMOathHashAlgorithm : NSInteger {}Swift
enum EMOathHashAlgorithm : Int, @unchecked Sendable -
Supported Hash algorithm for Ocra password field. choose EMOcraPasswordNone if not used
See moreDeclaration
Objective-C
enum EMOcraPasswordHashAlgorithm : NSInteger {}Swift
enum EMOcraPasswordHashAlgorithm : Int, @unchecked Sendable -
Supported types of Time step. Choose EMTotpTimestepTypeNone if not used.
See moreDeclaration
Objective-C
enum EMOathTimestepType : NSInteger {}Swift
enum EMOathTimestepType : Int, @unchecked Sendable -
Supported challenge question formats for Ocra
See moreDeclaration
Objective-C
enum EMOcraChallengeQuestionFormat : NSInteger {}Swift
enum EMOcraChallengeQuestionFormat : Int, @unchecked Sendable -
Represents the allowed input format of the data.
See moreDeclaration
Objective-C
enum EMPrimitiveTextFormat : int {}Swift
enum EMPrimitiveTextFormat : Int32, @unchecked Sendable -
The token capability attribute dictates how the token can be used within the Mobile Protector SDK, potentially limiting or expanding its use.
See moreDeclaration
Objective-C
enum EMTokenCapability {}Swift
struct EMTokenCapability : Equatable, RawRepresentable -
The token policy of the Mobile Protector SDK when the physical device is detected as being jailbroken.
See moreSince
4.0Declaration
Objective-C
enum EMTokenJailbreakPolicy : NSInteger {}Swift
enum EMTokenJailbreakPolicy : Int, @unchecked Sendable -
NSError codes for EMTokenManagerErrorCode
See moreDeclaration
Objective-C
enum EMTokenManagerErrorCode : NSInteger {}Swift
enum EMTokenManagerErrorCode : Int, @unchecked Sendable -
The secure log log level.
See moreDeclaration
Objective-C
enum SecureLogLevel : NSInteger {}Swift
enum SecureLogLevel : Int, @unchecked Sendable -
Declaration
Objective-C
enum EMPinType {}Swift
struct EMPinType : Equatable, RawRepresentable -
Declaration
Objective-C
enum EMPinComplexity {}Swift
struct EMPinComplexity : Equatable, RawRepresentable -
Type of PIN policy.
- PinPolicyTypeDskppV1ServerPin: DSKPP V1 server PIN policy.
- PinPolicyTypeDskppV1LocalPin: DSKPP V1 local (user, no-pin) PIN policy.
Declaration
Objective-C
enum EMPinPolicyType {}Swift
struct EMPinPolicyType : Equatable, RawRepresentable -
Declaration
Objective-C
enum EMTokenPolicyType {}Swift
struct EMTokenPolicyType : Equatable, RawRepresentable -
Declaration
Objective-C
enum EMKekPrfAlgorithm {}Swift
struct EMKekPrfAlgorithm : Equatable, RawRepresentable -
Declaration
Objective-C
enum EMTokenUsage {}Swift
struct EMTokenUsage : Equatable, RawRepresentable -
Declaration
Objective-C
enum EMStatus {}Swift
struct EMStatus : Equatable, RawRepresentable
Enumerations Reference