Retrieves a binary object from the vault.
- (NSData*)getValue:(NSString*)name;
getValue returns a binary data value, associated with the specified name, from the vault. An exception is thrown if the vault is locked when this method is called.
NSData *retrievedvalue = nil; @try { [oVault unlock:@"goodPassword" withSalt:@"goodSalt"]; retrievedvalue = [oVault getValue:@"testValue"]; } @catch (NSException *e) { NSLog(@"Exception: %@",[e description]); } @finally { [oVault lock]; }