Constants

The following constants are available globally.

  • FastTrack Error Domain

    Declaration

    Objective-C

    extern NSErrorDomain _Nonnull EMFastTrackErrorDomain

    Swift

    let EMFastTrackErrorDomain: String
  • Token management error domain.

    Declaration

    Objective-C

    extern NSString *_Nonnull FASTTRACK_ERROR_DOMAIN_TOKEN_MANAGEMENT

    Swift

    let FASTTRACK_ERROR_DOMAIN_TOKEN_MANAGEMENT: String
  • OTP generation error domain.

    Declaration

    Objective-C

    extern NSString *_Nonnull FASTTRACK_ERROR_DOMAIN_OTP_GENERATION

    Swift

    let FASTTRACK_ERROR_DOMAIN_OTP_GENERATION: String
  • Change PIN error domain.

    Declaration

    Objective-C

    extern NSString *_Nonnull FASTTRACK_ERROR_DOMAIN_CHANGE_PIN

    Swift

    let FASTTRACK_ERROR_DOMAIN_CHANGE_PIN: String
  • Mobile messenger error domain.

    Declaration

    Objective-C

    extern NSString *_Nonnull FASTTRACK_ERROR_DOMAIN_MOBILE_MESSENGER

    Swift

    let FASTTRACK_ERROR_DOMAIN_MOBILE_MESSENGER: String
  • Biometric error domain.

    Declaration

    Objective-C

    extern NSString *_Nonnull FASTTRACK_ERROR_DOMAIN_BIOMETRIC

    Swift

    let FASTTRACK_ERROR_DOMAIN_BIOMETRIC: String
  • iOS default timeout

    Declaration

    Objective-C

    extern const NSTimeInterval EMFastTrackTlsConfigurationDefaultTimeout

    Swift

    let EMFastTrackTlsConfigurationDefaultTimeout: TimeInterval
  • Mobile Messenger Generic Content Type in JSON

    Declaration

    Objective-C

    extern NSString *_Nonnull MOBILE_MESSENGER_JSON_CONTENT_TYPE_GENERIC

    Swift

    let MOBILE_MESSENGER_JSON_CONTENT_TYPE_GENERIC: String
  • Mobile Messenger Transaction Verify Request Content Type in JSON

    Declaration

    Objective-C

    extern NSString
        *_Nonnull MOBILE_MESSENGER_JSON_CONTENT_TYPE_TRANSACTION_VERIFY_REQUEST

    Swift

    let MOBILE_MESSENGER_JSON_CONTENT_TYPE_TRANSACTION_VERIFY_REQUEST: String
  • Mobile Messenger Transaction Verify Response Content Type in JSON

    Declaration

    Objective-C

    extern NSString
        *_Nonnull MOBILE_MESSENGER_JSON_CONTENT_TYPE_TRANSACTION_VERIFY_RESPONSE

    Swift

    let MOBILE_MESSENGER_JSON_CONTENT_TYPE_TRANSACTION_VERIFY_RESPONSE: String
  • Mobile Messenger Transaction Signing Request Content Type in JSON

    Declaration

    Objective-C

    extern NSString
        *_Nonnull MOBILE_MESSENGER_JSON_CONTENT_TYPE_TRANSACTION_SIGNING_REQUEST

    Swift

    let MOBILE_MESSENGER_JSON_CONTENT_TYPE_TRANSACTION_SIGNING_REQUEST: String
  • Mobile Messenger Transaction Signing Response Content Type in JSON

    Declaration

    Objective-C

    extern NSString
        *_Nonnull MOBILE_MESSENGER_JSON_CONTENT_TYPE_TRANSACTION_SIGNING_RESPONSE

    Swift

    let MOBILE_MESSENGER_JSON_CONTENT_TYPE_TRANSACTION_SIGNING_RESPONSE: String
  • Default padding sequence used for the MAC data.

    Declaration

    Objective-C

    static const unsigned char DEFAULT_CAP_MAC_PADDING[] = {128, 0, 0, 0,
                                                            0,   0, 0, 0}

    Swift

    let DEFAULT_CAP_MAC_PADDING: (UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8)
  • Default card risk management data object list.

    Declaration

    Objective-C

    static const unsigned char DEFAULT_CAP_CDOL[] = {
        159, 2,   6,  0,   0,  0, 0,   0, 0,   159, 3,  6,   0, 0,  0,  0, 0,
        0,   159, 26, 2,   0,  0, 149, 5, 128, 0,   0,  0,   0, 95, 42, 2, 0,
        0,   154, 3,  0,   0,  0, 156, 1, 0,   159, 55, 4,   0, 0,  0,  0, 130,
        2,   16,  0,  159, 54, 2, 0,   0, 159, 82,  6,  165, 0, 3,  4,  0, 0}

    Swift

    let DEFAULT_CAP_CDOL: (UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8)
  • The IPB applies to the assembled Token Data, which consists of: Optionally, the PAN Sequence Number (PSN): 1 byte. The Cryptogram Information Data (CID): 1 byte. The Application Transaction Counter (ATC): 2 bytes. The Cryptogram: 8 bytes. The Issuer Application Data (IAD): 0-32 bytes.

    Declaration

    Objective-C

    static const unsigned char DEFAULT_CAP_IPB[] = {
        0, 0, 255, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}

    Swift

    let DEFAULT_CAP_IPB: (UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8)
  • Default Issuer authentication flags.

    Declaration

    Objective-C

    static const unsigned char DEFAULT_CAP_IAF = 128

    Swift

    let DEFAULT_CAP_IAF: UInt8
  • Default issuer application data.

    Declaration

    Objective-C

    static const unsigned char DEFAULT_CAP_IAD[] = {6, 1, 10, 3, 4, 0, 0, 0, 0, 0}

    Swift

    let DEFAULT_CAP_IAD: (UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8, UInt8)
  • Default cryptographic identifier.

    Declaration

    Objective-C

    static const unsigned char DEFAULT_CAP_CID = 128

    Swift

    let DEFAULT_CAP_CID: UInt8
  • Default DCVV length

    Declaration

    Objective-C

    static const NSInteger DEFAULT_OATH_DCVV_TRUNCATION = 3

    Swift

    let DEFAULT_OATH_DCVV_TRUNCATION: Int
  • Default hash algorithm for DCVV.

    Declaration

    Objective-C

    static const EMFastTrackOathHashAlgorithm DEFAULT_OATH_DCVV_HASH_ALGORITHM =
        EMFastTrackOathHashAlgorithmSHA1

    Swift

    let DEFAULT_OATH_DCVV_HASH_ALGORITHM: EMFastTrackOathHashAlgorithm
  • Default time step type for DCVV.

    Declaration

    Objective-C

    static const EMFastTrackOathTimestepType DEFAULT_OATH_DCVV_TIMESTEP_TYPE =
        EMFastTrackOathTimestepTypeMinutes

    Swift

    let DEFAULT_OATH_DCVV_TIMESTEP_TYPE: EMFastTrackOathTimestepType
  • Default time step size for DCVV.

    Declaration

    Objective-C

    static const NSInteger DEFAULT_OATH_DCVV_TIMESTEP_SIZE = 20

    Swift

    let DEFAULT_OATH_DCVV_TIMESTEP_SIZE: Int
  • Default value to start counting the time steps.

    Declaration

    Objective-C

    static const int64_t DEFAULT_OATH_DCVV_START_TIME = 0LL

    Swift

    let DEFAULT_OATH_DCVV_START_TIME: Int64
  • Default HOTP length.

    Declaration

    Objective-C

    static const NSInteger DEFAULT_OATH_HOTP_TRUNCATION = 8

    Swift

    let DEFAULT_OATH_HOTP_TRUNCATION: Int
  • Default hash algorithm for HOTP.

    Declaration

    Objective-C

    static const EMFastTrackOathHashAlgorithm DEFAULT_OATH_HOTP_HASH_ALGORITHM =
        EMFastTrackOathHashAlgorithmSHA1

    Swift

    let DEFAULT_OATH_HOTP_HASH_ALGORITHM: EMFastTrackOathHashAlgorithm
  • OATH Minimum Truncation value

    Declaration

    Objective-C

    static const NSInteger MOBILE_PROTECTOR_OATH_MINIMUM_TRUNCATION = 6

    Swift

    let MOBILE_PROTECTOR_OATH_MINIMUM_TRUNCATION: Int
  • OATH Maximum Truncation value

    Declaration

    Objective-C

    static const NSInteger MOBILE_PROTECTOR_OATH_MAXIMUM_TRUNCATION = 10

    Swift

    let MOBILE_PROTECTOR_OATH_MAXIMUM_TRUNCATION: Int
  • OATH DCVV Minimum Truncation value

    Declaration

    Objective-C

    static const NSInteger MOBILE_PROTECTOR_OATH_DCVV_MINIMUM_TRUNCATION = 3

    Swift

    let MOBILE_PROTECTOR_OATH_DCVV_MINIMUM_TRUNCATION: Int
  • OATH DCVV Maximum Truncation value

    Declaration

    Objective-C

    static const NSInteger MOBILE_PROTECTOR_OATH_DCVV_MAXIMUM_TRUNCATION = 4

    Swift

    let MOBILE_PROTECTOR_OATH_DCVV_MAXIMUM_TRUNCATION: Int
  • Default value to start counting the time steps.

    Declaration

    Objective-C

    static const int64_t DEFAULT_OATH_OCRA_START_TIME = 0LL

    Swift

    let DEFAULT_OATH_OCRA_START_TIME: Int64
  • Default OCRA Suite

    Declaration

    Objective-C

    static NSString *_Nonnull DEFAULT_OATH_OCRA_SUITE =
        @"OCRA-1:HOTP-SHA1-8:QN08-T30S"

    Swift

    let DEFAULT_OATH_OCRA_SUITE: String
  • Default TOTP length.

    Declaration

    Objective-C

    static const NSInteger DEFAULT_OATH_TOTP_TRUNCATION = 8

    Swift

    let DEFAULT_OATH_TOTP_TRUNCATION: Int
  • Default hash algorithm for TOTP.

    Declaration

    Objective-C

    static const EMFastTrackOathHashAlgorithm DEFAULT_OATH_TOTP_HASH_ALGORITHM =
        EMFastTrackOathHashAlgorithmSHA1

    Swift

    let DEFAULT_OATH_TOTP_HASH_ALGORITHM: EMFastTrackOathHashAlgorithm
  • Default time step type for TOTP.

    Declaration

    Objective-C

    static const EMFastTrackOathTimestepType DEFAULT_OATH_TOTP_TIMESTEP_TYPE =
        EMFastTrackOathTimestepTypeSeconds

    Swift

    let DEFAULT_OATH_TOTP_TIMESTEP_TYPE: EMFastTrackOathTimestepType
  • Default time step size for TOTP.

    Declaration

    Objective-C

    static const NSInteger DEFAULT_OATH_TOTP_TIMESTEP_SIZE = 30

    Swift

    let DEFAULT_OATH_TOTP_TIMESTEP_SIZE: Int
  • Default value to start counting the time steps.

    Declaration

    Objective-C

    static const int64_t DEFAULT_OATH_TOTP_START_TIME = 0LL

    Swift

    let DEFAULT_OATH_TOTP_START_TIME: Int64