public interface Transaction
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAllowedStatuses()
Returns a list of status names (for instance approve, deny, report) that can be set for that transaction.
|
Date |
getDate()
Returns the status change date for the transaction
|
Key |
getSigningKey()
Gets the Signing Key object associated with that transaction.
|
boolean |
setStatus(String status,
char[] signingPassword,
char[] sessionPassword,
Parameter[] param)
Communicates the status of this transaction using provided key identifier.
|
String |
toString()
Returns the transaction text to be displayed to the user.
|
boolean setStatus(String status, char[] signingPassword, char[] sessionPassword, Parameter[] param) throws AuthenticationException, PasswordExpiredException, TransactionExpiredException, ServerVersionException, RemoteException, LostCredentialsException, InternalException, PasswordRequiredException, FingerprintAuthenticationRequiredException, ServerAuthenticationException, ServerOperationFailedException
status - status to apply to transaction with signature.signingPassword - the password protecting the signature key. Pass null if the key is not password protected.sessionPassword - transaction protection key password (can be null if not required by the policy)param - reserved for future useAuthenticationException - if password is incorrect.PasswordExpiredException - if expired password is given (changePassword required).TransactionExpiredException - if transaction has expired.ServerVersionException - if server version is not supported by the client.RemoteException - if server responds with any other error.LostCredentialsException - if device key has been lost. A new provisioning is needed.InternalException - if an unexpected error occurred.PasswordRequiredException - if required password was not provided and cached password is not available.FingerprintAuthenticationRequiredException - if fingerprint authentication is required by policy.ServerOperationFailedException - if the server encounters a failure for the operation requested.ServerAuthenticationException - if the transaction protection key is not rejected by the server.TransactionInfo.getTransactionProtectionKey(),
getSigningKey()String[] getAllowedStatuses()
setStatus(String, char[], char[], Parameter[])String toString()
toString in class ObjectObject.toString()Date getDate()
Key getSigningKey() throws InternalException, UnsupportedDeviceException, UnsafeDeviceException
InternalException - if an unexpected error occurred.UnsupportedDeviceException - if device is not supported by policy.UnsafeDeviceException - if the mobile is not protected by a password.Copyright © 2005-2020 HID Global Corporation/ASSA ABLOY AB.