UpdateOfflineKeyBag()
This method is used to update the offline key bag of the user.
aa813test
This method is used to update the offline key bag of the user.
Syntax
boolean UpdateOfflineKeyBag(walletName, orgName, onlinePIN, offlinePIN)
Parameters
The following are the parameters of this method:
Parameter
| Type
| Description
|
walletName | string | Wallet name of an ArcotID PKI for which the offline key bag has to be updated. |
orgName | string | The organization name to which the user belongs to. |
onlinePIN | string | The ArcotID PKI password that is used to authenticate to the Key Authority server and fetch the latest key bag. |
offlinePIN | string | The password that the user needs to use to access their certificates offline. |
Returns
If the method is successful, then it returns TRUE. If the method is unsuccessful, then it returns FALSE.
Example
var arcotClient = new ArcotClient();var userIDStr = "johnsmith";var orgName = "Acme Vendor";var onlinePINStr = "12345^";var offlinePINStr = "123456"var response = arcotClient.UpateOfflineKeyBag(userIDStr, orgName, onlinePINStr, offlinePINStr);