First public contribution.
2 * Copyright (c) 1998-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.
24 #ifndef __TPKIXCERTVAL_H__
25 #define __TPKIXCERTVAL_H__
29 #include <x509certchain.h>
31 class CTestChain : public CBase
34 static CTestChain* NewL(const TDesC& aBuf);
35 static CTestChain* NewLC(const TDesC& aBuf);
38 virtual void ConstructL(const TDesC& aBuf);
39 TBool AddInter(const TDesC& aBuf, TInt& aPos);
41 TBuf<128> iEECertFileName;
42 TBuf<128> iEECertLabel;
43 TBuf<128> iRootCertFileName;
44 TBuf<128> iRootCertLabel;
45 CDesCArray* iIntermediateCertsFileName;
46 CDesCArray* iIntermediateCertsLabel;
49 class CTestParameters : public CBase
52 static CTestParameters* NewL(const TDesC& aBuf);
53 static CTestParameters* NewLC(const TDesC& aBuf);
56 virtual void ConstructL(const TDesC& aBuf);
57 TBool AddPolicy(const TDesC& aBuf, const TDesC& aStart, const TDesC& aEnd, TInt& aPos, CDesCArray& aPolicySet);
60 CArrayFixFlat<TValidationStatus>* iWarnings;
61 CDesCArray* iPolicyInput;
62 CDesCArray* iExpectedPolicyOutput;