HID APPROVE SDK
5.14
HID Approve SDK for Windows .NET
|
Enables management of the transactions. More...
Public Member Functions | |
Task< IContainer > | CreateContainer (ContainerInitialization config, char[] sessionPassword, IHIDProgress< IProgressEvent > progressListener) |
Triggers the container activation process to create a new container. More... | |
Task | DeleteContainer (int containerId, char[] sessionPassword, String reason="user") |
Deletes the container with the specified identifier. More... | |
Task< IList< IContainer > > | FindContainers (IList< Parameter > filter) |
Finds containers matching the specified filter. More... | |
Task< string > | GetDeviceInfo (string name) |
Gets the device information. More... | |
Task< IServerActionInfo > | RetrieveActionInfo (string actionId) |
Retrieves and decodes an encrypted "server action" message received from the server. More... | |
Properties | |
ConnectionConfiguration | ConnectionConfiguration [get, set] |
ConnectionConfiguration currently used to connect to servers. More... | |
string | Version [get] |
Version of the SDK. More... | |
Enables management of the transactions.
Task<IContainer> HIDIA.Transaction.IDevice.CreateContainer | ( | ContainerInitialization | config, |
char [] | sessionPassword, | ||
IHIDProgress< IProgressEvent > | progressListener | ||
) |
Triggers the container activation process to create a new container.
config | The initialization configuration see ContainerInitialization for details. |
sessionPassword | Transaction protection key password (can be null if not required by the policy). |
progressListener | Instance of IHIDProgress<T> to which report progress or receive password request events. |
AuthenticationException | if the given session password is incorrect or locked. |
InternalException | if an unexpected error occurred. |
InvalidPasswordException | if the given password does not match the required policy constraints. |
InvalidParameterException | if the given parameters are invalid or required parameters are missing. |
PasswordCancelledException | if the password prompt dialog has been cancelled by the user. |
PasswordExpiredException | if an expired password is given (changePassword required) |
RemoteException | if server responds with any other error. |
ServerAuthenticationException | if the server raises an error. |
Task HIDIA.Transaction.IDevice.DeleteContainer | ( | int | containerId, |
char [] | sessionPassword, | ||
String | reason = "user" |
||
) |
Deletes the container with the specified identifier.
containerId | The identifier of the container. |
sessionPassword | Transaction protection key password (can be null if not required by the policy). |
reason | Optional parameter to specify the container suppression reason. |
AuthenticationException | if the given session password is incorrect or locked. |
InternalException | if an unexpected error occurred. |
InvalidPasswordException | if the given password does not match the required policy constraints. |
InvalidParameterException | if the given parameters are invalid or required parameters are missing. |
PasswordExpiredException | if an expired password is given (changePassword required) |
Task<IList<IContainer> > HIDIA.Transaction.IDevice.FindContainers | ( | IList< Parameter > | filter | ) |
Finds containers matching the specified filter.
filter | Array of parameters providing search criteria. It can be:
|
InternalException | if an unexpected error occurred. |
InvalidParameterException | if the given parameters are invalid or required parameters are missing. |
Task<string> HIDIA.Transaction.IDevice.GetDeviceInfo | ( | string | name | ) |
Gets the device information.
name | The property identifier. |
Allowed property ids are defined in Constants:
Note that Constants.DEVICE_INFO_PUSHID cannot be retrieved because it is not stored: only the application can have an up-to-date value.
InternalException | if an unexpected error occurred. |
InvalidParameterException | if the given parameters are invalid or required parameters are missing. |
Task<IServerActionInfo> HIDIA.Transaction.IDevice.RetrieveActionInfo | ( | string | actionId | ) |
Retrieves and decodes an encrypted "server action" message received from the server.
actionId | The message received in push notification.. |
InternalException | if an unexpected error occurred. |
InvalidParameterException | if the given parameters are invalid or required parameters are missing. |
TransactionContainerInvalidException | if the action id refers to a container that does not exist. |
|
getset |
ConnectionConfiguration currently used to connect to servers.
|
get |
Version of the SDK.