setString

Stores a string object in the vault.

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

Syntax

- (void)setString:(NSString*)name Value:(NSString*)value;

Parameters

Returns

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

Examples