HID APPROVE SDK  6.0
HID Approve SDK for Android
com.hidglobal.ia.service.transaction.ServerActionInfo Interface Reference

Action details received from server More...

Public Member Functions

ServerAction getAction (char[] sessionPassword, Parameter[] params) throws AuthenticationException, RemoteException, UnsupportedDeviceException, PasswordExpiredException, LostCredentialsException, InternalException, TransactionExpiredException, ServerOperationFailedException, InvalidParameterException
 
Container getContainer ()
 
Key getProtectionKey ()
 
String getUniqueIdentifier ()
 

Detailed Description

Action details received from server

Member Function Documentation

◆ getAction()

Extracts the action data associated with this action info.

Parameters
sessionPasswordprotection key password (can be null if not required by the policy)
paramsReserved for future use.
Returns
a ServerAction instance containing action details
Exceptions
AuthenticationExceptionif password is incorrect.
RemoteExceptionif server responds with any other error.
UnsupportedDeviceExceptionif device is not supported by policy.
PasswordExpiredExceptionif expired password is given (changePassword required).
LostCredentialsExceptionif provisioning key data has been corrupted or lost.
InternalExceptionif an unexpected error occurred.
TransactionExpiredExceptionif transaction has expired.
ServerOperationFailedExceptionif the server encounters a failure for the operation requested.
InvalidParameterExceptionif the given parameters are invalid or required parameters are missing.

◆ getContainer()

Container com.hidglobal.ia.service.transaction.ServerActionInfo.getContainer ( )

Retrieves the container associated with requested action.

Returns
the container.

◆ getProtectionKey()

Key com.hidglobal.ia.service.transaction.ServerActionInfo.getProtectionKey ( )

Retrieves the protection key associated with that action.

Returns
The action protection session key

◆ getUniqueIdentifier()

String com.hidglobal.ia.service.transaction.ServerActionInfo.getUniqueIdentifier ( )

Retrieves the action unique identifier.

Returns
action unique identifier.