setString

Stores a string object in the vault.

An exception is thrown if the vault is locked when this method is called.

Syntax

public void setString(
   String name,
   String value
)

Parameters

Returns

If an incorrect password or salt is used, a DataVaultException is thrown with the reason INVALID_PASSWORD.

Examples