getString

Retrieves a string value from the vault.

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

Syntax

- (NSString*)getString:(NSString*)name;

Parameters

Returns

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

Examples