EMDeviceFingerprintTokenPolicy Class Reference

Inherits from NSObject
Declared in EMDeviceFingerprintTokenPolicy.h

Overview

This class is used to create device fingerprint source settings that are applied to a token when it is built.

  failIfInvalid

  • Specifies if fingerprint data is checked before using them.
@property (nonatomic, readonly) BOOL failIfInvalid

Declared In

EMDeviceFingerprintTokenPolicy.h

  deviceFingerprintSource

  • List for device fingerprint source to use.
@property (nonatomic, copy, readonly) EMDeviceFingerprintSource *deviceFingerprintSource

Declared In

EMDeviceFingerprintTokenPolicy.h

+ defaultDeviceFingerprintTokenPolicy

  • Default device fingerprint token policy source settings, with check enabled.
+ (id)defaultDeviceFingerprintTokenPolicy

Discussion

*

  • @return An instance of EMDeviceFingerprintTokenPolicy.

Declared In

EMDeviceFingerprintTokenPolicy.h

– initWithDeviceFingerprintSource:failIfInvalid:

Build a new device fingerprint token policy.

- (id)initWithDeviceFingerprintSource:(EMDeviceFingerprintSource *)aDeviceFingerprintSource failIfInvalid:(BOOL)aFailIfInvalid

Parameters

aDeviceFingerprintSource

Device fingerprint source to collect.

aFailIfInvalid

Specify if anti-cloning data must be checked before instantiating the token. If YES, when a token is retrieved the token manager verifies if the anti-cloning matches a digest of the expected anti-cloning. If it does not match then an exception is thrown.

Return Value

An instance of EMDeviceFingerprintTokenPolicy.

Discussion

Warning: If aFailIfInvalid is set to YES, it still remains a probability of ½16 that wrong device fingerprint data will not be detected.

Declared In

EMDeviceFingerprintTokenPolicy.h