|
HID APPROVE SDK
5.5
HID APPROVE SDK for iOS
|
Main device instance. More...
#import <HIDDevice.h>
Instance Methods | |
| (id< HIDContainer >) | - createContainer:withListener:error: |
| Deprecated. Creates the container. More... | |
| (id< HIDContainer >) | - createContainer:withSessionPassword:withListener:error: |
| Creates the container. More... | |
| (BOOL) | - deleteContainer:withSessionPassword:withParams:error: |
| Deletes a container identified by its ID. The method notifies the server the container is deleted, thus requires the device to be online. More... | |
| (NSArray *) | - findContainers:error: |
| Retrieves a container based on input parameter filter. More... | |
| (id< HIDProtectionPolicy >) | - getDefaultInitializationPolicy: |
| Deprecated. Retrieves the initialization password policy for the device. More... | |
| (NSString *) | - getDeviceInfo:error: |
| Retrieves device information. More... | |
| (NSString *) | - getVersion: |
| Returns the version of the transaction processor client API. More... | |
| (BOOL) | - reset:error: |
| Deprecated. Deletes containers and keys contained in the device. More... | |
| (id< HIDTransaction >) | - retrieveTransaction:withPassword:withParams:error: |
| Deprecated. Retrieves a transaction associated with that transaction ID. More... | |
| (id< HIDTransactionInfo >) | - retrieveTransactionInfo:error: |
| Retrieves a transaction info associated to that transaction ID. More... | |
| (NSArray *) | - searchTransactionHistory:withFilter:error: |
| Searches for transactions in the transaction history. More... | |
| (BOOL) | - setConnectionConfiguration:error: |
| Sets connection configuration. More... | |
| (BOOL) | - updateDeviceInfo:withValue:withPassword:withParams:error: |
| Updates device information. More... | |
Main device instance.
| - (id<HIDContainer>) createContainer: | (HIDContainerInitialization *) | config | |
| withListener: | (NSObject< HIDProgressListener > *) | listener | |
| error: | (NSError **) | error | |
Deprecated. Creates the container.
| config | initialization configuration see HIDContainerInitialization for details |
| listener | A HIDProgressListener implementation to which to report status information or receive password request events. |
| error | error details. It may be nil. |
Possible error codes are:
| - (id<HIDContainer>) createContainer: | (HIDContainerInitialization *) | config | |
| withSessionPassword: | (NSString *) | sessionPassword | |
| withListener: | (NSObject< HIDProgressListener > *) | listener | |
| error: | (NSError **) | error | |
Creates the container.
| config | initialization configuration see HIDContainerInitialization for details |
| sessionPassword | transaction protection key password (can be nil if not required by the policy) |
| listener | A HIDProgressListener implementation to which to report status information or receive password request events. |
| error | error details. It may be nil. |
Possible error codes are:
| - (BOOL) deleteContainer: | (NSInteger) | containerId | |
| withSessionPassword: | (NSString *) | sessionPassword | |
| withParams: | (NSArray *) | parameters | |
| error: | (NSError **) | error | |
Deletes a container identified by its ID. The method notifies the server the container is deleted, thus requires the device to be online.
| containerId | id of the container. |
| sessionPassword | transaction protection key password (can be nil if not required by the policy). |
| parameters | can be empty (reserved for future use). |
| error | error details. It may be nil. |
Possible error codes are:
| - (NSArray*) findContainers: | (NSArray *) | filter | |
| error: | (NSError **) | error | |
Retrieves a container based on input parameter filter.
| filter |
Filter can indicate:
| error | error details. It may be nil. |
Possible error codes are:
| - (id<HIDProtectionPolicy>) getDefaultInitializationPolicy: | (NSError **) | error |
Deprecated. Retrieves the initialization password policy for the device.
| error | error details. It may be nil. |
Possible error codes are:
| - (NSString*) getDeviceInfo: | (NSString *) | propertyId | |
| error: | (NSError **) | error | |
Retrieves device information.
| propertyId | deviceInfo property to retrieve. |
Supported property names:
| error | error details. It may be nil. |
Possible error codes are:
| - (NSString*) getVersion: | (NSError **) | error |
Returns the version of the transaction processor client API.
| - (BOOL) reset: | (NSArray *) | parameters | |
| error: | (NSError **) | error | |
Deprecated. Deletes containers and keys contained in the device.
| parameters | can be empty (reserved for future use). |
| error | error details. It may be nil. |
Possible error codes are:
| - (id<HIDTransaction>) retrieveTransaction: | (NSString *) | transactionId | |
| withPassword: | (NSString *) | sessionPassword | |
| withParams: | (NSArray *) | parameters | |
| error: | (NSError **) | error | |
Deprecated. Retrieves a transaction associated with that transaction ID.
| transactionId | transaction ID message received in push notification. |
| sessionPassword | transaction protection key password (can be nil if not required by the policy) |
| parameters | NSArray of HIDParameter objects required to retrieve the transaction (such as password if needed). |
Supported parameters:
| error | error details. It may be nil. |
Possible error codes are:
If a password protection policy is set on the Transaction protection key the password protecting the key must be passed as parameter to enable retrieving the transaction.
| - (id<HIDTransactionInfo>) retrieveTransactionInfo: | (NSString *) | transactionId | |
| error: | (NSError **) | error | |
Retrieves a transaction info associated to that transaction ID.
| transactionId | transaction ID message received in push notification. |
| error | error details. It may be nil. |
Possible error codes are:
| - (NSArray*) searchTransactionHistory: | (NSString *) | sessionPassword | |
| withFilter: | (NSArray *) | filter | |
| error: | (NSError **) | error | |
Searches for transactions in the transaction history.
| sessionPassword | If a password protection policy is set on the transaction protection key the password protecting the key must be passed. |
| filter | TransactionFilter. |
| error | error details. It may be nil. |
Possible error codes are:
| NSInternalInconsistencyException | if not implemented |
| - (BOOL) setConnectionConfiguration: | (HIDConnectionConfiguration *) | config | |
| error: | (NSError **) | error | |
Sets connection configuration.
| config | configuration, see HIDConnectionConfiguration for details. |
| error | error details. It may be nil. |
Possible error codes are:
| - (BOOL) updateDeviceInfo: | (NSString *) | propertyId | |
| withValue: | (NSString *) | propertyValue | |
| withPassword: | (NSString *) | sessionPassword | |
| withParams: | (NSArray *) | parameters | |
| error: | (NSError **) | error | |
Updates device information.
This method is used by the application to notify of a change in one of the externally generated device attributes.
| propertyId | deviceInfo property to update. |
Supported name attributes:
| sessionPassword | transaction protection key password (can be nil if not required by the policy) |
| propertyValue | the new value to replace. |
| parameters | empty (reserved for future use) |
Supported parameters:
| error | error details. It may be nil. |
Possible error codes are: