sl@0: /* sl@0: * Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: sl@0: /** sl@0: @file sl@0: @internalTechnology sl@0: */ sl@0: sl@0: #ifndef __TPKIXCERTVAL_H__ sl@0: #define __TPKIXCERTVAL_H__ sl@0: sl@0: #include sl@0: #include sl@0: #include sl@0: sl@0: class CTestChain : public CBase sl@0: { sl@0: public: sl@0: static CTestChain* NewL(const TDesC& aBuf); sl@0: static CTestChain* NewLC(const TDesC& aBuf); sl@0: ~CTestChain(); sl@0: CTestChain(); sl@0: virtual void ConstructL(const TDesC& aBuf); sl@0: TBool AddInter(const TDesC& aBuf, TInt& aPos); sl@0: // sl@0: TBuf<128> iEECertFileName; sl@0: TBuf<128> iEECertLabel; sl@0: TBuf<128> iRootCertFileName; sl@0: TBuf<128> iRootCertLabel; sl@0: CDesCArray* iIntermediateCertsFileName; sl@0: CDesCArray* iIntermediateCertsLabel; sl@0: }; sl@0: sl@0: class CTestParameters : public CBase sl@0: { sl@0: public: sl@0: static CTestParameters* NewL(const TDesC& aBuf); sl@0: static CTestParameters* NewLC(const TDesC& aBuf); sl@0: ~CTestParameters(); sl@0: CTestParameters(); sl@0: virtual void ConstructL(const TDesC& aBuf); sl@0: TBool AddPolicy(const TDesC& aBuf, const TDesC& aStart, const TDesC& aEnd, TInt& aPos, CDesCArray& aPolicySet); sl@0: // sl@0: TBuf<128> iError; sl@0: CArrayFixFlat* iWarnings; sl@0: CDesCArray* iPolicyInput; sl@0: CDesCArray* iExpectedPolicyOutput; sl@0: TBool iIPoliciesSet; sl@0: TBool iOPoliciesSet; sl@0: TBool iOWarningsSet; sl@0: }; sl@0: sl@0: #endif sl@0: