Bug 130518. Throw INVALID PARAMETER exception on null and empty strings

This commit is contained in:
Jim Norman
2005-10-31 20:26:21 +00:00
parent 4df26f8574
commit 16eff73590
3 changed files with 389 additions and 329 deletions

View File

@@ -58,7 +58,6 @@ namespace Novell.CASA
}
public static BasicCredential GetBasicCredential(
string sAppSecretID,
string sSharedSecretID)
@@ -102,26 +101,20 @@ namespace Novell.CASA
{
NativeCalls.RemoveCredential(ssFlags, sAppSecretID, sSharedSecretID);
}
/*
internal static int SetMasterPasscode(
uint ssFlags,
string passcodeStr)
{
return NativeCalls.SetMasterPasscode(ssFlags,passcodeStr);
}
*/
public static int SetMasterPassword(
uint ssFlags,
string mPasswd)
{
return NativeCalls.SetMasterPassword(ssFlags,mPasswd);
}
public static bool IsSecretPersistent(
uint ssFlags,
string secretID)
{
return NativeCalls.IsSecretPersistent(ssFlags,secretID);
}
public static int SetMasterPassword(
uint ssFlags,
string mPasswd)
{
return NativeCalls.SetMasterPassword(ssFlags,mPasswd);
}
public static bool IsSecretPersistent(
uint ssFlags,
string secretID)
{
return NativeCalls.IsSecretPersistent(ssFlags,secretID);
}
}
}