EMDsFormattingTools
Objective-C
@interface EMDsFormattingTools : NSObject
Swift
class EMDsFormattingTools : NSObject
DS Formatting Tools
-
Gets the Dynamic Signature template ID encoded by the challenge.
Declaration
Objective-C
+ (NSInteger)getDynamicSignatureTemplateIdWithChallenge: (id<EMSecureString>)challenge;Swift
class func getDynamicSignatureTemplateId(withChallenge challenge: (any EMSecureString)!) -> IntParameters
challengeThe challenge of the transaction, must not be
nil.Return Value
The template ID indicating the list of input to request from the user for Dynamic Signature.
-
Checks validity of a challenge against a checksum mode.
Declaration
Objective-C
+ (BOOL)checkDigitWithType:(EMVerifyType)type challenge:(id<EMSecureString>)challenge;Swift
class func checkDigit(with type: EMVerifyType, challenge: (any EMSecureString)!) -> BoolParameters
typeChecksum algorithm to use, See EMVerifyType define list of supported modes.
challengeThe challenge of the transaction, must not be
nil.Return Value
YESif the checksum is correct,NOotherwise
EMDsFormattingTools Class Reference