HID APPROVE SDK
5.1
HID APPROVE SDK for iOS
|
Protection Policy with password specific constraints. More...
#import <HIDProtectionPolicy.h>
Instance Methods | |
(BOOL) | - changePassword:new:error: |
Changes the password bound to the protection policy identified by the protection policyId parameter. New password must respect the defined protection policy restrictions. More... | |
(int) | - currentAge |
Returns the current password age since last change. More... | |
(int) | - getCacheTimeout |
Gets password cache timeout. More... | |
(BOOL) | - isCacheEnabled |
Gets password cache flag. More... | |
(int) | - maxAge |
Returns the maximum age for a password. This detmines how long users can keep a password before they have to change it. If 0, indicates that the password never expires. More... | |
(int) | - maxAlpha |
Returns the maximum number of alphabetical characters. More... | |
(int) | - maxHistory |
Returns the max password history limit. This security setting determines the number of unique new passwords that have to be associated with the the key before an old password can be reused. More... | |
(int) | - maxLength |
Returns the maximum password length. More... | |
(int) | - maxLowerCase |
Returns the maximum number of lower case letters. More... | |
(int) | - maxNonAlpha |
Returns the maximum number of special characters. More... | |
(int) | - maxNumeric |
Returns the maximum number of numbers. More... | |
(int) | - maxUpperCase |
Returns the maximum number of upper case letters. More... | |
(int) | - minAge |
Returns the minimum age for a password change. This security setting determines the period of time (in days) that a password must be used before the user can change it. It must be less than the maximum password age. If 0, indicates to allow changes immediately. More... | |
(int) | - minAlpha |
Returns the minimum number of alphabetical characters. More... | |
(int) | - minLength |
Returns the minimum password length. More... | |
(int) | - minLowerCase |
Returns the minimum number of lower case letters. More... | |
(int) | - minNonAlpha |
Returns the minimum number of special characters. More... | |
(int) | - minNumeric |
Returns the minimum number of numbers. More... | |
(int) | - minUpperCase |
Returns the minimum number of upper case letters. More... | |
(BOOL) | - verifyPassword:error: |
Verifies whether password protecting the key is correct (RSA keys ONLY). More... | |
Instance Methods inherited from <HIDProtectionPolicy> | |
(id< HIDLockPolicy >) | - lockPolicy |
Returns the lock policy. More... | |
(HIDIdentifier *) | - policyId |
Returns the protection policy identifier. More... | |
(HIDPolicyType) | - policyType |
Returns the protection policy type. More... | |
Protection Policy with password specific constraints.
The restrictions may be any or all of the following:
- (BOOL) changePassword: | (NSString *) | oldPassword | |
new: | (NSString *) | newPassword | |
error: | (NSError **) | error | |
Changes the password bound to the protection policy identified by the protection policyId parameter. New password must respect the defined protection policy restrictions.
oldPassword | old key password. |
newPassword | new key password. |
error | error details. It may be nil. |
Possible error codes are:
NSInvalidArgumentException | if invalid parameter is given |
- (int) currentAge |
Returns the current password age since last change.
- (int) getCacheTimeout |
Gets password cache timeout.
- (BOOL) isCacheEnabled |
Gets password cache flag.
- (int) maxAge |
Returns the maximum age for a password. This detmines how long users can keep a password before they have to change it. If 0, indicates that the password never expires.
- (int) maxAlpha |
Returns the maximum number of alphabetical characters.
- (int) maxHistory |
Returns the max password history limit. This security setting determines the number of unique new passwords that have to be associated with the the key before an old password can be reused.
- (int) maxLength |
Returns the maximum password length.
- (int) maxLowerCase |
Returns the maximum number of lower case letters.
- (int) maxNonAlpha |
Returns the maximum number of special characters.
- (int) maxNumeric |
Returns the maximum number of numbers.
- (int) maxUpperCase |
Returns the maximum number of upper case letters.
- (int) minAge |
Returns the minimum age for a password change. This security setting determines the period of time (in days) that a password must be used before the user can change it. It must be less than the maximum password age. If 0, indicates to allow changes immediately.
- (int) minAlpha |
Returns the minimum number of alphabetical characters.
- (int) minLength |
Returns the minimum password length.
- (int) minLowerCase |
Returns the minimum number of lower case letters.
- (int) minNonAlpha |
Returns the minimum number of special characters.
- (int) minNumeric |
Returns the minimum number of numbers.
- (int) minUpperCase |
Returns the minimum number of upper case letters.
- (BOOL) verifyPassword: | (NSString *) | password | |
error: | (NSError **) | error | |
Verifies whether password protecting the key is correct (RSA keys ONLY).
password | the key password. |
error | error details. It may be nil. |
Possible error codes are:
NSInvalidArgumentException | if invalid parameter is given |