2006-01-19 00:34:21 +01:00
|
|
|
/***********************************************************************
|
|
|
|
*
|
2006-02-01 18:48:29 +01:00
|
|
|
* Copyright (C) 2005-2006 Novell, Inc. All Rights Reserved.
|
2006-01-19 00:34:21 +01:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; version 2.1
|
|
|
|
* of the License.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2006-01-31 23:01:47 +01:00
|
|
|
* Library Lesser General Public License for more details.
|
2006-01-19 00:34:21 +01:00
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2006-01-31 23:01:47 +01:00
|
|
|
* License along with this library; if not, Novell, Inc.
|
2006-01-19 00:34:21 +01:00
|
|
|
*
|
|
|
|
* To contact Novell about this file by physical or electronic mail,
|
|
|
|
* you may find current contact information at www.novell.com.
|
|
|
|
*
|
|
|
|
***********************************************************************/
|
|
|
|
|
2005-10-11 21:51:00 +02:00
|
|
|
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";
|
2006-02-28 12:28:32 +01:00
|
|
|
public static string FF = "Firefox";
|
2005-10-11 21:51:00 +02:00
|
|
|
|
|
|
|
//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-02-28 12:28:32 +01:00
|
|
|
public static string CCF_FFTAG = "FireFox";
|
|
|
|
public static string CCF_FFPROFILE = "Profile";
|
|
|
|
|
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;
|
2005-10-11 21:51:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|