| 
    HID APPROVE SDK
    5.5
    
   HID APPROVE SDK for iOS 
   | 
 
Service container instance. More...
#import <HIDContainer.h>
Instance Methods | |
| (BOOL) | - addKey:withProtectionPolicyId:withPassword:error: | 
| Adds a key to the container.  More... | |
| (BOOL) | - deleteKey:withParams:error: | 
| Deletes the key identified by its ID.  More... | |
| (NSArray *) | - findKeys:error: | 
| Retrieves a key handle from the secure keystore based on input parameter filter.  More... | |
| (NSDate *) | - getCreationDate: | 
| Retrieves the container creation date.  More... | |
| (NSDate *) | - getExpiryDate: | 
| Retrieve the container expiration date.  More... | |
| (NSInteger) | - getId | 
| Get the identifier of that container.  More... | |
| (NSString *) | - getName | 
| Gets the Friendly Name associated with that container.  More... | |
| (NSString *) | - getProperty:error: | 
| Returns container property.  More... | |
| (id< HIDProtectionPolicy >) | - getProtectionPolicy: | 
| Gets the protection policy associated with container.  More... | |
| (NSDate *) | - getRenewalDate: | 
| Retrieve the container renewal date.  More... | |
| (NSString *) | - getServerURL | 
| Gets the server URL associated with that container.  More... | |
| (NSString *) | - getUserId | 
| Gets the identifier of the user for this container.  More... | |
| (BOOL) | - isFIPSModeEnabled | 
| Checks if FIPS 140-2 mode is required.  More... | |
| (Boolean) | - isRenewable:error: | 
| Verify whether the container renewal is possible.  More... | |
| (Boolean) | - renew:withSessionPassword:withListener:error: | 
| Renew all keys associated with the container.  More... | |
| (NSArray *) | - retrieveTransactionIds:withParams:error: | 
| Retrieve a list of pending transaction IDs from the container.  More... | |
| (BOOL) | - setConnectionConfiguration:error: | 
| Sets connection configuration.  More... | |
| (BOOL) | - setName:error: | 
| Sets the Friendly Name associated with that container.  More... | |
| (BOOL) | - setProperty:withValue:error: | 
| Overrides a container property.  More... | |
Service container instance.
| - (BOOL) addKey: | (HIDKeySpec *) | keySpec | |
| withProtectionPolicyId: | (HIDIdentifier *) | protectionPolicyId | |
| withPassword: | (NSString *) | password | |
| error: | (NSError **) | error | |
Adds a key to the container.
| keySpec | the HIDKeySpec specification containing the key data (expect JWS formatted key). | 
| protectionPolicyId | the protection policy Id for that key. | 
| password | The password protecting that key. It can be set to nil if the protection policy does not require password to be set. | 
| error | error details. It may be nil. | 
Possible error codes are:
| - (BOOL) deleteKey: | (HIDIdentifier *) | keyId | |
| withParams: | (NSArray *) | parameters | |
| error: | (NSError **) | error | |
Deletes the key identified by its ID.
| keyId | key identifier. | 
| parameters | NSArray of HIDParameter objects for any additional parameters. | 
| error | error details. It may be nil. | 
Possible error codes are:
| - (NSArray*) findKeys: | (NSArray *) | filter | |
| error: | (NSError **) | error | |
Retrieves a key handle from the secure keystore based on input parameter filter.
| filter | NSArray of HIDParameter objects with key property name and value. | 
The property name may be any of the following:
| error | error details. It may be nil. | 
Possible error codes are:
| - (NSDate*) getCreationDate: | (NSError **) | error | 
Retrieves the container creation date.
| error | error details. It may be nil. | 
Possible error codes are:
| - (NSDate*) getExpiryDate: | (NSError **) | error | 
Retrieve the container expiration date.
| error | error details. It may be nil. | 
Possible error codes are:
| - (NSInteger) getId | 
Get the identifier of that container.
| - (NSString*) getName | 
Gets the Friendly Name associated with that container.
| - (NSString*) getProperty: | (NSString *) | propertyId | |
| error: | (NSError **) | error | |
Returns container property.
| propertyId | property name. | 
Supported property names:
| error | error details. It may be nil. | 
Possible error codes are:
| - (id<HIDProtectionPolicy>) getProtectionPolicy: | (NSError **) | error | 
Gets the protection policy associated with container.
| error | error details. It may be nil. | 
Possible error codes are:
| - (NSDate*) getRenewalDate: | (NSError **) | error | 
Retrieve the container renewal date.
| error | error details. It may be nil. | 
Possible error codes are:
| - (NSString*) getServerURL | 
Gets the server URL associated with that container.
| - (NSString*) getUserId | 
Gets the identifier of the user for this container.
| - (BOOL) isFIPSModeEnabled | 
Checks if FIPS 140-2 mode is required.
| - (Boolean) isRenewable: | (NSString *) | sessionPassword | |
| error: | (NSError **) | error | |
Verify whether the container renewal is possible.
| sessionPassword | transaction protection key password (can be nil if not required by the policy) | 
| error | error details. It may be nil. | 
Possible error codes are:
| - (Boolean) renew: | (HIDContainerRenewal *) | config | |
| withSessionPassword: | (NSString *) | sessionPassword | |
| withListener: | (NSObject< HIDProgressListener > *) | listener | |
| error: | (NSError **) | error | |
Renew all keys associated with the container.
| config | renewal configuration see HIDContainerRenewal 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:
| - (NSArray*) retrieveTransactionIds: | (NSString *) | sessionPassword | |
| withParams: | (NSArray *) | parameters | |
| error: | (NSError **) | error | |
Retrieve a list of pending transaction IDs from the container.
| sessionPassword | the password protecting transaction | 
| parameters | empty (reserved for future use) | 
| error | error details. It may be nil. | 
Possible error codes are:
| - (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) setName: | (NSString *) | name | |
| error: | (NSError **) | error | |
Sets the Friendly Name associated with that container.
| name | Friendly name of container. | 
| error | error details. It may be nil. | 
Possible error codes are:
| - (BOOL) setProperty: | (NSString *) | propertyId | |
| withValue: | (NSString *) | propertyValue | |
| error: | (NSError **) | error | |
Overrides a container property.
| propertyId | property name. | 
Supported property names:
| propertyValue | property value. | 
| error | error details. It may be nil. | 
Possible error codes are: