HID APPROVE SDK
5.9
HID Approve SDK for Android
|
Public Member Functions | |
String | getAlgorithm () throws InternalException, UnsupportedDeviceException, LostCredentialsException |
OTPGenerator | getDefaultOTPGenerator () throws InternalException |
byte [] | getEncoded () throws UnsupportedDeviceException, LostCredentialsException, InternalException |
byte [] | getEncoded (char[] password) throws UnsupportedDeviceException, AuthenticationException, LostCredentialsException, InternalException, FingerprintAuthenticationRequiredException, FingerprintNotEnrolledException, PasswordRequiredException, PasswordExpiredException |
String | getFormat () throws InternalException, UnsupportedDeviceException, LostCredentialsException |
KeyId | getId () |
OTPGenerator | getOTPGenerator (String name) throws NotImplementedException |
String [] | getOTPGeneratorNames () throws NotImplementedException |
char [] | getProperty (String attribute) throws LostCredentialsException, InvalidParameterException, InternalException |
ProtectionPolicy | getProtectionPolicy () throws InternalException |
boolean | isExtractable () throws LostCredentialsException, InternalException, UnsupportedDeviceException |
String com.hidglobal.ia.service.transaction.Key.getAlgorithm | ( | ) | throws InternalException, UnsupportedDeviceException, LostCredentialsException |
Gets the standard algorithm name for the key.
InternalException | if an unexpected error occurred. |
UnsupportedDeviceException | if device is not supported by policy. |
LostCredentialsException | if provisioning key data has been corrupted or lost. |
OTPGenerator com.hidglobal.ia.service.transaction.Key.getDefaultOTPGenerator | ( | ) | throws InternalException |
Returns the OTP generator for the associated with the key.
InternalException | if an unexpected error occurred. |
byte [] com.hidglobal.ia.service.transaction.Key.getEncoded | ( | ) | throws UnsupportedDeviceException, LostCredentialsException, InternalException |
Gets the key in its primary encoding format.
UnsupportedDeviceException | if device is not supported by policy. |
LostCredentialsException | if provisioning key data has been corrupted or lost. |
InternalException | if an unexpected error occurred. |
byte [] com.hidglobal.ia.service.transaction.Key.getEncoded | ( | char [] | password | ) | throws UnsupportedDeviceException, AuthenticationException, LostCredentialsException, InternalException, FingerprintAuthenticationRequiredException, FingerprintNotEnrolledException, PasswordRequiredException, PasswordExpiredException |
Gets the key in its primary encoding format.
password | the key password. |
UnsupportedDeviceException | if device is not supported by policy. |
AuthenticationException | if password is incorrect. |
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. |
PasswordRequiredException | if required password was not provided and cached password is not available. |
PasswordExpiredException | if expired password is given (changePassword required). |
String com.hidglobal.ia.service.transaction.Key.getFormat | ( | ) | throws InternalException, UnsupportedDeviceException, LostCredentialsException |
Gets the name of the primary encoding format of this key.
InternalException | if an unexpected error occurred. |
UnsupportedDeviceException | if device is not supported by policy. |
LostCredentialsException | if provisioning key data has been corrupted or lost. |
KeyId com.hidglobal.ia.service.transaction.Key.getId | ( | ) |
Gets the keyId associated with key.
OTPGenerator com.hidglobal.ia.service.transaction.Key.getOTPGenerator | ( | String | name | ) | throws NotImplementedException |
Returns the OTP generator with specified name associated with the key. (RFU)
name | one of OTP generators names see getOTPGeneratorNames(). |
NotImplementedException | if the operation is not implemented and reserved for future use. |
String [] com.hidglobal.ia.service.transaction.Key.getOTPGeneratorNames | ( | ) | throws NotImplementedException |
Returns the list of supported OTP generators associated with the key. (RFU)
NotImplementedException | if the operation is not implemented and reserved for future use. |
char [] com.hidglobal.ia.service.transaction.Key.getProperty | ( | String | attribute | ) | throws LostCredentialsException, InvalidParameterException, InternalException |
Returns property for that key.
attribute | attribute name The property name may be any of the following: |
LostCredentialsException | if provisioning key data has been corrupted or lost. |
InvalidParameterException | if the given parameters are invalid or required parameters are missing. |
InternalException | if an unexpected error occurred. |
ProtectionPolicy com.hidglobal.ia.service.transaction.Key.getProtectionPolicy | ( | ) | throws InternalException |
Gets the protection policy associated with key.
InternalException | if an unexpected error occurred. |
boolean com.hidglobal.ia.service.transaction.Key.isExtractable | ( | ) | throws LostCredentialsException, InternalException, UnsupportedDeviceException |
Returns true when the key is extractable.
LostCredentialsException | if provisioning key data has been corrupted or lost. |
InternalException | if an unexpected error occurred. |
UnsupportedDeviceException | if device is not supported by policy. |