EMVicDevice Protocol Reference

Conforms to NSObject
Declared in EMVicDevice.h

Overview

A protocol defining a device that verifies VIC codes.

– isVerifyBlocked: required method

Checks if Verify Issuer Code is blocked (verifyIssuerCode:pin:)

- (BOOL)isVerifyBlocked:(NSError **)error

Parameters

error

If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in NULL.

Return Value

YES if verify issuer code is blocked, NO otherwise.

Declared In

EMVicDevice.h

– isVerifyLastAttempt: required method

Checks if Verify Issuer Code is the last attempt (verifyIssuerCode:pin:)

- (BOOL)isVerifyLastAttempt:(NSError **)error

Parameters

error

If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in NULL.

Return Value

YES if verify issuer code is the last attempt. NO otherwise.

Declared In

EMVicDevice.h

– verifyIssuerCode:authInput:error: required method

Verify the code given by the caller to authenticate him

- (BOOL)verifyIssuerCode:(id<EMSecureString>)vic authInput:(id<EMAuthInput>)authInput error:(NSError **)error

Parameters

vic

The code to be verified.

authInput

The authInput.

error

If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in NULL.

Return Value

YES if verification succeeded, NO otherwise.`

Availability

3.2

Discussion

Warning: Depending of the EMAuthInput type you are using, you may have to use this function asynchronously, please @see EMAuthInput for more details

Declared In

EMVicDevice.h