deviceencryption/common/DevEncDef.h
changeset 0 6a9f87576119
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/deviceencryption/common/DevEncDef.h	Mon Jan 18 20:09:41 2010 +0200
@@ -0,0 +1,29 @@
+/*
+* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0""
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Common definitions for the application.
+*
+*/
+
+#ifndef DEVENCDEF_H_
+#define DEVENCDEF_H_
+
+enum
+    {
+    KMinPasswordLength = 4, // Same as for security code
+    KMaxPasswordLength = 50,
+    KMaxKeyNameLength = 50,
+    KMaxFilenameLength = 100,
+    KEncryptionKeyLength = 32
+    };
+#endif /*DEVENCDEF_H_*/