Retrieves a string value from the vault.
public String getString(String name)
getString returns a string data value, associated with the specified name, from the vault. An exception is thrown if the vault is locked when this method is called.
try { vault.unlock("password", "salt"); string retrievedstring = vault.getString("testString"); } catch (DataVaultException e) { System.out.println("Exception: " + e.toString()); } finally { vault.lock(); }