Retrieves a string value from the vault.
public String getString(String name)
If an incorrect password or salt is used, a DataVaultException is thrown with the reason INVALID_PASSWORD.
try { vault.unlock("password", "salt"); string retrievedstring = vault.getString("testString"); } catch (DataVaultException e) { System.out.println("Exception: " + e.toString()); } finally { vault.lock(); }