diff -r 491b3ed49290 -r 65326cf895ed deviceencryption/common/DevEncDef.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deviceencryption/common/DevEncDef.h Wed Sep 01 12:31:07 2010 +0100 @@ -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_*/