getString

Retrieves a string value from the vault.

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

Syntax

public String getString(String name)

Parameters

Returns

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

Examples