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