HID APPROVE SDK
5.5
HID APPROVE SDK for Android
|
Public Member Functions | |
boolean | changePassword (char[] oldpwdvalue, char[] newpwdvalue) throws AuthenticationException, PasswordNotYetUpdatableException, InvalidPasswordException, LostCredentialsException, InternalException, FingerprintAuthenticationRequiredException, UnsupportedDeviceException, FingerprintNotEnrolledException, PasswordRequiredException |
int | getCacheTimeout () |
long | getCurrentAge () |
int | getMaxAge () |
int | getMaxAlpha () |
int | getMaxHistory () |
int | getMaxLength () |
int | getMaxLowerCase () |
int | getMaxNonAlpha () |
int | getMaxNumeric () |
int | getMaxUpperCase () |
int | getMinAge () |
int | getMinAlpha () |
int | getMinLength () |
int | getMinLowerCase () |
int | getMinNonAlpha () |
int | getMinNumeric () |
int | getMinUpperCase () |
boolean | isCacheEnabled () |
void | verifyPassword (char[] password) throws InternalException, UnsupportedDeviceException, LostCredentialsException, AuthenticationException, PasswordExpiredException, FingerprintAuthenticationRequiredException, FingerprintNotEnrolledException, PasswordRequiredException |
![]() | |
ProtectionPolicyId | getId () |
LockPolicy | getLockPolicy () |
String | getType () |
Protection Policy with password specific constraints. The restrictions may be any or all of the following:
boolean com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.changePassword | ( | char [] | oldpwdvalue, |
char [] | newpwdvalue | ||
) | throws AuthenticationException, PasswordNotYetUpdatableException, InvalidPasswordException, LostCredentialsException, InternalException, FingerprintAuthenticationRequiredException, UnsupportedDeviceException, FingerprintNotEnrolledException, PasswordRequiredException |
Changes the password bound to the protection policy identified by the protection policyId parameter. New password must respect the defined protection policy restrictions.
oldpwdvalue | old key password. |
newpwdvalue | new key password. |
AuthenticationException | if password is incorrect. |
PasswordNotYetUpdatableException | if the policy indicates that it is too early to update the password. |
InvalidPasswordException | if password validation fails. |
LostCredentialsException | if provisioning key data has been corrupted or lost. |
InternalException | if an unexpected error occurred. |
FingerprintAuthenticationRequiredException | if fingerprint authentication is required by policy. |
FingerprintNotEnrolledException | if fingerprint enrollment is required. |
UnsupportedDeviceException | if device is not supported by policy. |
PasswordRequiredException | if required password was not provided and cached password is not available. |
IllegalArgumentException | if the given parameters are invalid or required parameters are missing. (RuntimeException) |
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getCacheTimeout | ( | ) |
Returns timeout of cached memory in seconds
long com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getCurrentAge | ( | ) |
Current password age since last change.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxAge | ( | ) |
Returns the maximum age for a password. This determines how long users can keep a password before they have to change it. 0 means password never expires.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxAlpha | ( | ) |
Get maximum number of letter characters
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxHistory | ( | ) |
"Returns the max password history limit. This security setting determines the number of unique new passwords that have to be associated with the key before an old password can be reused.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxLength | ( | ) |
Get maximum password length
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxLowerCase | ( | ) |
Get maximum number of lowercase letters
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxNonAlpha | ( | ) |
Get maximum number of special characters (non alphanumeric)
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxNumeric | ( | ) |
Get maximum number of numeric characters
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMaxUpperCase | ( | ) |
Get maximum number of uppercase letters
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMinAge | ( | ) |
Get minimum age for password. 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. 0 allow changes immediately.
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMinAlpha | ( | ) |
Get minimum number of letter characters
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMinLength | ( | ) |
Get minimum password length
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMinLowerCase | ( | ) |
Get minimum number of lowercase letters
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMinNonAlpha | ( | ) |
Get minimum number of special characters (non alphanumeric)
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMinNumeric | ( | ) |
Get minimum number of numeric characters
int com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.getMinUpperCase | ( | ) |
Get minimum number of uppercase letters
boolean com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.isCacheEnabled | ( | ) |
Returns true if password cache is enabled
void com.hidglobal.ia.service.protectionpolicy.PasswordPolicy.verifyPassword | ( | char [] | password | ) | throws InternalException, UnsupportedDeviceException, LostCredentialsException, AuthenticationException, PasswordExpiredException, FingerprintAuthenticationRequiredException, FingerprintNotEnrolledException, PasswordRequiredException |
Verifies whether password protecting the key is correct (RSA keys ONLY).
password | the key password. |
InternalException | if an unexpected error occurred. |
UnsupportedDeviceException | if device is not supported by policy. |
LostCredentialsException | if provisioning key data has been corrupted or lost. |
AuthenticationException | if password is incorrect. |
PasswordExpiredException | if expired password is given (changePassword required). |
FingerprintAuthenticationRequiredException | if fingerprint authentication is required by policy. |
FingerprintNotEnrolledException | if fingerprint enrollment is required. |
PasswordRequiredException | if required password was not provided and cached password is not available. |
IllegalArgumentException | if the given parameters are invalid or required parameters are missing. (RuntimeException) |