25#import <Foundation/Foundation.h>
48@protocol HIDLockPolicy
61@protocol HIDCounterLockPolicy <HIDLockPolicy>
101@protocol HIDDelayLockPolicy <HIDLockPolicy>
131@protocol HIDProtectionPolicy <NSObject>
175@protocol HIDPasswordPolicy <HIDProtectionPolicy>
193- (BOOL)changePassword:(NSString*)oldPassword new:(NSString*)newPassword error:(NSError**)error;
210- (BOOL)verifyPassword:(NSString*)password error:(NSError**)error;
349@protocol HIDBioPasswordPolicy<HIDPasswordPolicy>
357- (BOOL)enableBioAuthentication:(NSString*)sPassword error:(NSError**)error;
364- (BOOL)disableBioAuthentication:(NSError**)error;
377@protocol HIDDevicePolicy <HIDProtectionPolicy>
HIDPolicyType
Protection policy types.
Definition HIDProtectionPolicy.h:121
@ HIDPolicyTypeBioPassword
Item is protected by external biometric policy.
Definition HIDProtectionPolicy.h:124
@ HIDPolicyTypePassword
Item is protected by a password provided by the user.
Definition HIDProtectionPolicy.h:122
@ HIDPolicyTypeDevice
Item is protected by device-specific information.
Definition HIDProtectionPolicy.h:123
HIDLockType
Known types of lock policy.
Definition HIDProtectionPolicy.h:38
@ HIDLockTypeSilent
The credential access is limited by delegating validation and blocking to server-side controls.
Definition HIDProtectionPolicy.h:42
@ HIDLockTypeNone
The credential never locks.
Definition HIDProtectionPolicy.h:39
@ HIDLockTypeLock
The credential locks after a certain number of attempts.
Definition HIDProtectionPolicy.h:40
@ HIDLockTypeDelay
An exponential delay is added for each failed authentication attempt using that credential.
Definition HIDProtectionPolicy.h:41
HIDBioAuthenticationState
Working state of authentication with biometrics.
Definition HIDProtectionPolicy.h:338
@ HIDBioAuthenticationStateNotCapable
The device has no biometric sensor, authentication with biometrics is not possible.
Definition HIDProtectionPolicy.h:341
@ HIDBioAuthenticationStateNotEnrolled
The user did not enrolled biometric features at the device level, authentication with biometrics cann...
Definition HIDProtectionPolicy.h:342
@ HIDBioAuthenticationStateEnabled
Authentication with biometrics is enabled, the SDK will accept password as nil in authentication meth...
Definition HIDProtectionPolicy.h:339
@ HIDBioAuthenticationStateNotEnabled
Authentication with biometrics is not enabled. To enable, a call to HIDBioPasswordPolicy....
Definition HIDProtectionPolicy.h:340
@ HIDBioAuthenticationStateInvalidKey
the cryptographic key has been invalidated.
Definition HIDProtectionPolicy.h:343
object identifier.
Definition HIDIdentifier.h:37
HIDBioAuthenticationState getBioAuthenticationState()
Returns the current working state of authentication with biometrics.
int counter()
Returns the max counter value of the credential before it gets locked.
int delay()
Returns the initial delay in seconds.
int counter()
Returns the maximum counter value after which exponential delay is fixed.
HIDLockType lockType()
returns the lock policy type.
int maxHistory()
Get max password history limit. This security setting determines the number of unique new passwords t...
int minUpperCase()
Get minimum number of upper case letters.
int maxUpperCase()
Get maximum number of upper case letters.
int currentAge()
Get current password age since last change.
int minNonAlpha()
Get minimum number of special characters (non alphanumeric).
int minNumeric()
Get the minimum number of numeric characters.
int minAlpha()
Get minimum number of alphabetical characters.
BOOL isSequenceAllowed()
Gets password sequence allowed flag.
BOOL isCacheEnabled()
Gets password cache flag.
int minAge()
Get minimum age for a password change. This security setting determines the period of time (in days) ...
int getCacheTimeout()
Gets password cache timeout.
int maxAge()
Get maximum age for a password. This determines how long (in days) users can keep a password before t...
int minLowerCase()
Get minimum number of lower case letters.
int minLength()
Get minimum password length.
int maxNonAlpha()
Get maximum number of special characters (non alphanumeric).
int maxNumeric()
Get maximum number of numeric characters.
int maxLowerCase()
Get maximum number of lower case letters.
int maxLength()
Get maximum password length.
int maxAlpha()
Get maximum number of alphabetical characters.
id< HIDLockPolicy > lockPolicy()
Returns the lock policy.
HIDIdentifier * policyId()
Returns the protection policy identifier.
HIDPolicyType policyType()
Returns the protection policy type.