os/security/cryptoservices/filebasedcertificateandkeystores/test/keytool/keytool_params.cpp
First public contribution.
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 #include "keytool_commands.h"
22 _LIT(KDefaultKeyFile,"c:\\newkeys.dat");
24 CKeyToolParameters::CKeyToolParameters()
28 CKeyToolParameters* CKeyToolParameters::NewLC()
30 CKeyToolParameters* self = new (ELeave) CKeyToolParameters;
31 CleanupStack::PushL(self);
36 CKeyToolParameters::~CKeyToolParameters()
50 delete iAuthExpression;
55 void CKeyToolParameters::ConstructL()
57 iAccess = CCTKeyInfo::EExtractable;
58 iUsage = EPKCS15UsageSign;
66 iNewKeyFile = KDefaultKeyFile().AllocL();