Enumerations

The following enumerations are available globally.

  • The error that will be returned when a failure occurs during the CAS E2EE operation..

    Since

    6.1.0
    See more

    Declaration

    Objective-C

    enum EMCCasError : NSInteger {}

    Swift

    typealias EMCCasError.Code._ErrorType = EMCCasError
  • The encryption version of the CAS Server

    Since

    6.1.0
    See more

    Declaration

    Objective-C

    enum EMCEncryptionVersion : NSUInteger {}

    Swift

    enum EMCEncryptionVersion : UInt, @unchecked Sendable
  • The password encoding used by the CAS Server

    Since

    6.3.0
    See more

    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 EMDeviceFingerprintTypeSoft \ EMDeviceFingerprintTypeHardwareKey is used, user cannot restore the previous data after either a factory reset, or re-initializing of the same device

    See more

    Declaration

    Objective-C

    enum EMDeviceFingerprintType : NSUInteger {}

    Swift

    enum EMDeviceFingerprintType : UInt, @unchecked Sendable
  • The supported modes for DS CAP.

    See more

    Declaration

    Objective-C

    enum EMDsCapMode : NSInteger {}

    Swift

    enum EMDsCapMode : Int, @unchecked Sendable
  • The supported domains for Dynamic Signature using GPF.

    See more

    Declaration

    Objective-C

    enum EMDomainType : NSInteger {}

    Swift

    enum EMDomainType : Int, @unchecked Sendable
  • The supported check digit algorithms for challenge.

    See more

    Declaration

    Objective-C

    enum EMVerifyType : NSInteger {}

    Swift

    enum EMVerifyType : Int, @unchecked Sendable
  • Pubic Pin Type enum.

    Since

    4.1
    See more

    Declaration

    Objective-C

    enum EMDskppPinType : NSUInteger {}

    Swift

    enum EMDskppPinType : UInt, @unchecked Sendable
  • Public Pin complexity enum.

    Since

    4.1
    See more

    Declaration

    Objective-C

    enum EMDskppPinComplexity : NSUInteger {}

    Swift

    enum EMDskppPinComplexity : UInt, @unchecked Sendable
  • Policy traits

    Since

    4.1
    See more

    Declaration

    Objective-C

    enum EMDskppPolicyParamType : NSInteger {}

    Swift

    enum EMDskppPolicyParamType : Int, @unchecked Sendable
  • Defines the concrete type of data object instance.

    Since

    5.0
    See more

    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.

    Since

    5.0
    See more

    Declaration

    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 more

    Declaration

    Objective-C

    enum EMEmvPointOfInitiationMethod {}

    Swift

    struct EMEmvPointOfInitiationMethod : Equatable, RawRepresentable
  • Represents the allowed input format of the data.

    See more

    Declaration

    Objective-C

    enum EMPrimitiveInputFormat : int {}

    Swift

    enum EMPrimitiveInputFormat : Int32, @unchecked Sendable
  • Error codes in EMJailbreakErrorDomain

    Since

    2.3
    See more

    Declaration

    Objective-C

    enum EMJailbreakErrorCode : NSInteger {}

    Swift

    enum EMJailbreakErrorCode : Int, @unchecked Sendable
  • Msp Base algorithm Constants

    Since

    4.5
    See more

    Declaration

    Objective-C

    enum EMMspBaseAlgorithm : NSInteger {}

    Swift

    enum EMMspBaseAlgorithm : Int, @unchecked Sendable
  • The enum class to describe the completeness of a MSP field.

    Since

    4.5
    See more

    Declaration

    Objective-C

    enum FieldCompleteness : NSInteger {}

    Swift

    enum FieldCompleteness : Int, @unchecked Sendable
  • Msp Frame Type Constants

    See more

    Declaration

    Objective-C

    enum EMMspFrameType : NSInteger {}

    Swift

    enum EMMspFrameType : Int, @unchecked Sendable
  • Current supported error message codes.

    Since

    3.0
    See more

    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.

    Since

    4.0
    See more

    Declaration

    Objective-C

    enum EMOobJailbreakPolicy : NSInteger {}

    Swift

    enum EMOobJailbreakPolicy : Int, @unchecked Sendable
  • Registration methods.

    Since

    3.0
    See more

    Declaration

    Objective-C

    enum EMOobRegistrationMethod : NSUInteger {}

    Swift

    enum EMOobRegistrationMethod : UInt, @unchecked Sendable
  • OOB result codes.

    Since

    3.0
    See more

    Declaration

    Objective-C

    enum EMOobResultCode : NSUInteger {}

    Swift

    enum EMOobResultCode : UInt, @unchecked Sendable
  • Supported transaction signing responses values

    Since

    4.4
    See more

    Declaration

    Objective-C

    enum EMOobTransactionSigningResponseValue : NSUInteger {}

    Swift

    enum EMOobTransactionSigningResponseValue : UInt, @unchecked Sendable
  • Interface of a transaction verify response for the OOB server.

    Since

    3.0
    See more

    Declaration

    Objective-C

    enum EMOobTransactionVerifyResponseValue : NSUInteger {}

    Swift

    enum EMOobTransactionVerifyResponseValue : UInt, @unchecked Sendable
  • The supported scramble modes for OTPs.

    See more

    Declaration

    Objective-C

    enum EMScrambleType : NSInteger {}

    Swift

    enum EMScrambleType : Int, @unchecked Sendable
  • The supported formatting modes for Otps.

    See more

    Declaration

    Objective-C

    enum EMFormatType : NSInteger {}

    Swift

    enum EMFormatType : Int, @unchecked Sendable
  • NSError codes for EMPinRuleErrorDomain

    See more

    Declaration

    Objective-C

    enum EMPinRuleErrorCode : NSInteger {}

    Swift

    enum EMPinRuleErrorCode : Int, @unchecked Sendable
  • The defined types of primitives

    See more

    Declaration

    Objective-C

    enum EMPrimitiveType : int {}

    Swift

    enum EMPrimitiveType : Int32, @unchecked Sendable
  • The supported Provisioning protocols

    See more

    Declaration

    Objective-C

    enum EMMobileProvisioningProtocol : int {}

    Swift

    enum EMMobileProvisioningProtocol : Int32, @unchecked Sendable
  • The supported Dskpp Provisioning protocols

    • - Since: 4.1
    See more

    Declaration

    Objective-C

    enum EMDskppProvisioningProtocol : int {}

    Swift

    enum EMDskppProvisioningProtocol : Int32, @unchecked Sendable
  • Supported modules to reset.

    Since

    6.6.0
    See more

    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               NO
    

    Default keys:

    #define EMSecureInputBuilder_DEFAULT_KEYS                              @"1234567890"
    

    Default button border width:

    #define EMSecureInputBuilder_DEFAULT_BUTTON_BORDER_WIDTH               1
    

    Default 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                     3
    

    Default number of rows:

    #define EMSecureInputBuilder_DEFAULT_NO_OF_ROWS                        4
    

    Default 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                     EMSecureInputUiLogoPositionCenter
    

    Default 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              NO
    

    Default 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                   20
    

    Default label alignment:

    #define EMSecureInputBuilder_DEFAULT_LABEL_ALIGNMENT                   EMSecureInputUiLabelAlignmentCenter
    

    Default 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              8
    

    Default keypad height ratio:

    #define EMSecureInputBuilder_DEFAULT_KEYPAD_HEIGHT_RATIO               0.5
    

    Default OK button behavior:

    #define EMSecureInputBuilder_DEFAULT_OK_BUTTON_BEHAVIOR                EMSecureInputUiOkButtonAutomaticallyEnabled
    

    Default button image opacity:

    #define EMSecureInputBuilder_DEFAULT_BUTTON_IMAGE_OPACITY              1.0
    

    Default 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                  24
    

    Default 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       NO
    

    Since

    4.4
    See more

    Declaration

    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.

    Since

    4.4
    See more

    Declaration

    Objective-C

    enum EMSecureInputUiLogoPosition : NSInteger {}

    Swift

    enum EMSecureInputUiLogoPosition : Int, @unchecked Sendable
  • Secure input background image content mode

    Since

    6.0
    See more

    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.

    Since

    4.4
    See more

    Declaration

    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.

    Since

    4.4
    See more

    Declaration

    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.

    Since

    4.4
    See more

    Declaration

    Objective-C

    enum EMSecureInputUiControlState : NSInteger {}

    Swift

    enum EMSecureInputUiControlState : Int, @unchecked Sendable
  • Secure Input UI OK button behavior.

    Since

    4.4
    See more

    Declaration

    Objective-C

    enum EMSecureInputUiOkButtonBehavior : NSInteger {}

    Swift

    enum EMSecureInputUiOkButtonBehavior : Int, @unchecked Sendable
  • The visual effect to button touches.

    Since

    5.0
    See more

    Declaration

    Objective-C

    enum EMButtonTouchVisualEffect : NSInteger {}

    Swift

    enum EMButtonTouchVisualEffect : Int, @unchecked Sendable
  • Secure input UI display mode.

    Since

    6.0
    See more

    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.

    Since

    6.2
    See more

    Declaration

    Objective-C

    enum EMSecureInputEncryptionMode : NSInteger {}

    Swift

    enum EMSecureInputEncryptionMode : Int, @unchecked Sendable
  • Enum type containing the possible handling when detecting hooking.

    Since

    4.7
    See more

    Declaration

    Objective-C

    enum EMHookingDetectionPolicy {}

    Swift

    struct EMHookingDetectionPolicy : Equatable, RawRepresentable
  • Enum type containing the possible handling when detecting device integrity compromise.

    Since

    6.7.0
    See more

    Declaration

    Objective-C

    enum EMDeviceIntegrityDetectionPolicy {}

    Swift

    struct EMDeviceIntegrityDetectionPolicy : Equatable, RawRepresentable
  • NSError codes for EMPinErrorDomain

    See more

    Declaration

    Objective-C

    enum EMPinErrorCode : NSInteger {}

    Swift

    enum EMPinErrorCode : Int, @unchecked Sendable
  • Supported hash algorithms for HMAC computation

    See more

    Declaration

    Objective-C

    enum EMOathHashAlgorithm : NSInteger {}

    Swift

    enum EMOathHashAlgorithm : Int, @unchecked Sendable
  • Supported Hash algorithm for Ocra password field. choose EMOcraPasswordNone if not used

    See more

    Declaration

    Objective-C

    enum EMOcraPasswordHashAlgorithm : NSInteger {}

    Swift

    enum EMOcraPasswordHashAlgorithm : Int, @unchecked Sendable
  • Supported types of Time step. Choose EMTotpTimestepTypeNone if not used.

    See more

    Declaration

    Objective-C

    enum EMOathTimestepType : NSInteger {}

    Swift

    enum EMOathTimestepType : Int, @unchecked Sendable
  • Supported challenge question formats for Ocra

    See more

    Declaration

    Objective-C

    enum EMOcraChallengeQuestionFormat : NSInteger {}

    Swift

    enum EMOcraChallengeQuestionFormat : Int, @unchecked Sendable
  • Represents the allowed input format of the data.

    See more

    Declaration

    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 more

    Declaration

    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.

    Since

    4.0
    See more

    Declaration

    Objective-C

    enum EMTokenJailbreakPolicy : NSInteger {}

    Swift

    enum EMTokenJailbreakPolicy : Int, @unchecked Sendable
  • NSError codes for EMTokenManagerErrorCode

    See more

    Declaration

    Objective-C

    enum EMTokenManagerErrorCode : NSInteger {}

    Swift

    enum EMTokenManagerErrorCode : Int, @unchecked Sendable
  • The secure log log level.

    See more

    Declaration

    Objective-C

    enum SecureLogLevel : NSInteger {}

    Swift

    enum SecureLogLevel : Int, @unchecked Sendable
  • Integer parameter definition, defines pin type

    Since

    4.1
    See more

    Declaration

    Objective-C

    enum EMPinType {}

    Swift

    struct EMPinType : Equatable, RawRepresentable
  • Defines the complexity of the PIN/passcode

    Since

    4.1
    See more

    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.
    See more

    Declaration

    Objective-C

    enum EMPinPolicyType {}

    Swift

    struct EMPinPolicyType : Equatable, RawRepresentable
  • Type of token policy.

    • TokenPolicyTypeDskppV1: DSKPP V1 token policy.
    See more

    Declaration

    Objective-C

    enum EMTokenPolicyType {}

    Swift

    struct EMTokenPolicyType : Equatable, RawRepresentable
  • The kek pseudo random function

    Since

    5.0
    See more

    Declaration

    Objective-C

    enum EMKekPrfAlgorithm {}

    Swift

    struct EMKekPrfAlgorithm : Equatable, RawRepresentable
  • Token Usage

    Since

    5.0
    See more

    Declaration

    Objective-C

    enum EMTokenUsage {}

    Swift

    struct EMTokenUsage : Equatable, RawRepresentable
  • General status sodes for EzioMobileSDK operations.

    Since

    3.0
    See more

    Declaration

    Objective-C

    enum EMStatus {}

    Swift

    struct EMStatus : Equatable, RawRepresentable