EMSoftCapSettings

Objective-C

@protocol EMSoftCapSettings <NSObject>

Swift

protocol EMSoftCapSettings : NSObjectProtocol

A protocol representing the CAP settings for soft tokens.

  • Returns the padding sequence used for the MAC data.

    Default: 0x8000000000000000

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSData *macPadding;

    Swift

    var macPadding: Data! { get }
  • Returns the card risk management data object list 1

    Default (hex):

    Amount authorized
    0x9F, 0x02, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    
    Amount other
    0x9F, 0x03, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    
    Terminal country code
    0x9F, 0x1A, 0x02, 0x00, 0x00,
    
    TVR
    0x95, 0x05, 0x80, 0x00, 0x00, 0x00, 0x00,
    
    Transaction currency code
    0x5F, 0x2A, 0x02, 0x00, 0x00,
    
    Transaction date
    0x9A, 0x03, 0x00, 0x00, 0x00,
    
    Transaction type
    0x9C, 0x01, 0x00,
    
    UN
    0x9F, 0x37, 0x04, 0x00, 0x00, 0x00, 0x00,
    
    AIP
    0x82, 0x02, 0x10, 0x00,
    
    ATC
    0x9F, 0x36, 0x02, 0x00, 0x00,
    
    CVR
    0x9F, 0x52, 0x06, 0xA5, 0x00, 0x03, 0x04, 0x00, 0x00
    

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSData *cdol;

    Swift

    var cdol: Data! { get }
  • ipb

    Returns the issuer proprietary bitmap

    Default (hex):

    No PSN
    
    CID
    0x00,
    
    ATC
    0x00, 0xFF,
    
    Cryptogram (AC)
    0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    
    IAD
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSData *ipb;

    Swift

    var ipb: Data! { get }
  • iaf

    Returns the issuer authentication flags.

    Default: 0x80

    Declaration

    Objective-C

    @property (nonatomic, readonly) unsigned char iaf;

    Swift

    var iaf: UInt8 { get }
  • iad

    Returns the issuer application data.

    Default: 0x06010A03040000000000

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSData *iad;

    Swift

    var iad: Data! { get }
  • cid

    Returns the cryptographic identifier.

    Default: 0x80

    Declaration

    Objective-C

    @property (nonatomic, readonly) unsigned char cid;

    Swift

    var cid: UInt8 { get }