Tests whether the specified vault exists, returns true if the vault exists; otherwise returns false. If an error occurs while reading the keychain, throws an kDataVaultExceptionReasonIORead exception.
+ (BOOL)vaultExists2:(NSString*)dataVaultID;
@try {
if ([SUPDataVault vaultExists2:@"myVault"]) {
[SUPDataVault deleteVault:@"myVault"];
}
}
@catch ( SUPDataVaultException *exception ) {
//handle the exception
}