EMDeviceFingerprintSource Class Reference

Inherits from NSObject
Declared in EMDeviceFingerprintSource.h

Overview

This class is used to create device fingerprint source settings.

  deviceFingerprintType

List for anti-cloning sources to use.

@property (nonatomic, copy, readonly) NSSet *deviceFingerprintType

Declared In

EMDeviceFingerprintSource.h

  customData

Application custom fingerprint data to integrate into anti-cloning.

@property (nonatomic, strong, readonly) NSData *customData

Declared In

EMDeviceFingerprintSource.h

+ defaultDeviceFingerprintSource

Gets the default device fingerprint source (EMDeviceFingerprintTypeSoft). See EMDeviceFingerprintType.

+ (id)defaultDeviceFingerprintSource

Declared In

EMDeviceFingerprintSource.h

– initWithDeviceFingerprintType:

Initializes a new device fingerprint source.

- (id)initWithDeviceFingerprintType:(NSSet *)aDft

Parameters

aDft

Set of sources to use, see EMDeviceFingerprintType.

Return Value

An instance of EMDeviceFingerprintSource.

Declared In

EMDeviceFingerprintSource.h

– initWithCustomData:

Initializes a new device fingerprint source with some application’s custom data.

- (id)initWithCustomData:(NSData *)aCustomData

Parameters

aCustomData

Application’s custom data.

Return Value

An instance of EMDeviceFingerprintSource.

Declared In

EMDeviceFingerprintSource.h

– initWithCustomData:deviceFingerprintType:

Initializes a new device fingerprint source with some application’s custom data.

- (id)initWithCustomData:(NSData *)aCustomData deviceFingerprintType:(NSSet *)aDft

Parameters

aCustomData

Application’s custom data.

aDft

Set of sources to use, see EMDeviceFingerprintType.

Return Value

An instance of EMDeviceFingerprintSource.

Declared In

EMDeviceFingerprintSource.h

– isActive:

Checks if the provided device fingerprint type is activated.

- (BOOL)isActive:(EMDeviceFingerprintType)aDeviceFingerprintType

Parameters

aDeviceFingerprintType

The source to be verified.

Return Value

YES if source is active, NO otherwise.

Declared In

EMDeviceFingerprintSource.h

+ isHardwareKeySupported

Checks if the current device supports hardware-based key (Secure Enclave) for device fingerprint source EMDeviceFingerprintTypeHardwareKey

+ (BOOL)isHardwareKeySupported

Return Value

YES if device supports, NO otherwise.

Availability

5.4

Declared In

EMDeviceFingerprintSource.h