HID APPROVE SDK  5.12
HID Approve SDK for iOS/macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
HIDProtectionPolicy.h File Reference

Security policy for the protection of sensitive data. More...

#import <Foundation/Foundation.h>
#import "HIDIdentifier.h"

Go to the source code of this file.

Classes

protocol  <HIDBioPasswordPolicy>
 Protection policy with authentication with biometrics or password. More...
 
protocol  <HIDCounterLockPolicy>
 The access to the credential will be locked after a configurable number of failed attempts. More...
 
protocol  <HIDDelayLockPolicy>
 The access to the credential will be limited by applying an exponential delay for each failed attempt. More...
 
protocol  <HIDDevicePolicy>
 Protection Policy with device derived key protection. More...
 
protocol  <HIDLockPolicy>
 Lock Policy with specific access constraints. More...
 
protocol  <HIDPasswordPolicy>
 Protection Policy with password specific constraints. More...
 
protocol  <HIDProtectionPolicy>
 The protection policy defines the security parameters associated with a key or data item. More...
 

Enumerations

enum  HIDBioAuthenticationState {
  HIDBioAuthenticationStateEnabled, HIDBioAuthenticationStateNotEnabled, HIDBioAuthenticationStateNotCapable, HIDBioAuthenticationStateNotEnrolled,
  HIDBioAuthenticationStateInvalidKey
}
 Working state of authentication with biometrics. More...
 
enum  HIDLockType { HIDLockTypeNone, HIDLockTypeLock, HIDLockTypeDelay, HIDLockTypeSilent }
 Known types of lock policy. More...
 
enum  HIDPolicyType { HIDPolicyTypePassword, HIDPolicyTypeDevice, HIDPolicyTypeBioPassword }
 Protection policy types. More...
 

Detailed Description

Security policy for the protection of sensitive data.

Enumeration Type Documentation

Working state of authentication with biometrics.

Enumerator
HIDBioAuthenticationStateEnabled 

Authentication with biometrics is enabled, the SDK will accept password as nil in authentication methods.

HIDBioAuthenticationStateNotEnabled 

Authentication with biometrics is not enabled. To enable, a call to HIDBioPasswordPolicy.enableBioAuthentication is required.

HIDBioAuthenticationStateNotCapable 

The device has no biometric sensor, authentication with biometrics is not possible.

HIDBioAuthenticationStateNotEnrolled 

The user did not enrolled biometric features at the device level, authentication with biometrics cannot be enabled.

HIDBioAuthenticationStateInvalidKey 

the cryptographic key has been invalidated.

Known types of lock policy.

Enumerator
HIDLockTypeNone 

The credential never locks.

HIDLockTypeLock 

The credential locks after a certain number of attempts.

HIDLockTypeDelay 

An exponential delay is added for each failed authentication attempt using that credential.

HIDLockTypeSilent 

The credential access is limited by delegating validation and blocking to server-side controls.

Protection policy types.

Enumerator
HIDPolicyTypePassword 

Item is protected by a password provided by the user.

HIDPolicyTypeDevice 

Item is protected by device-specific information.

HIDPolicyTypeBioPassword 

Item is protected by external biometric policy.