CASA/c_adlib/Common.cs

68 lines
2.5 KiB
C#
Raw Normal View History

using System;
namespace Novell.CASA.DataEngines.Common
{
public class ConstStrings
{
// Error codes
public static int CASA_SUCCESS = 0;
public static int CASA_OPERATION_FAILED = 1;
public static int CASA_STORE_NOT_AVAILABLE = 3;
public static int CASA_DATA_UNAVAILABLE = 4;
// Store IDs
public static string miCASA = "miCASA";
public static string KW = "KDE KWallet";
public static string GK = "GNOME Keyring";
public static string PM = "Password Manager";
//Store Types
public static int CASA_STORE_MICASA = 0;
public static int CASA_STORE_FFOX = 1;
public static int CASA_STORE_KWALLET =3;
public static int CASA_STORE_MOZILLA = 2;
public static int CASA_STORE_GK = 4;
//CCF Tag Names
public static string CCF_ID = "ID";
public static string CCF_GKTAG = "GK";
public static string CCF_KW = "KWallet";
public static string CCF_GKKEYRING = "Keyring";
public static string CCF_SECRET = "Secret";
public static string CCF_TYPE = "Type";
public static string CCF_KEY = "Key";
public static string CCF_VALUE = "Value";
public static string CCF_TIME = "Time";
public static string CCF_CRTIME = "Creation";
public static string CCF_MDTIME = "Modified";
public static string CCF_ACTIME = "Accessed";
public static string CCF_LOCK = "Lock";
public static string CCF_LOCKSTATUS = "LockStatus";
public static string CCF_LOCKHAND = "LockOnIdle";
public static string CCF_LOCKTIME = "LockTimeout";
public static string CCF_WALLET = "Wallet";
public static string CCF_FOLDER = "Folder";
public static string CCF_KEYCHAIN = "Keychain";
public static string CCF_KEYCHAINNAME = "Default";
public static string CCF_ZONE = "Zone";
public static string CCF_SYNCH = "Synch";
public static string CCF_NAME = "Name";
2006-01-06 12:59:20 +01:00
//Add Operation Types on CCF
public static int OPERATION_ADD_SECRET = 0;
public static int OPERATION_MODIFY_SECRET = 2;
}
}