cryptoservices/certificateandkeymgmt/tpkixcert/tpkixcertval.h
changeset 0 2c201484c85f
child 8 35751d3474b7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/certificateandkeymgmt/tpkixcert/tpkixcertval.h	Wed Jul 08 11:25:26 2009 +0100
@@ -0,0 +1,70 @@
+/*
+* Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "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: 
+*
+*/
+
+
+
+
+/**
+ @file 
+ @internalTechnology
+*/
+ 
+#ifndef __TPKIXCERTVAL_H__
+#define __TPKIXCERTVAL_H__
+
+#include <e32std.h>
+#include <badesca.h>
+#include <x509certchain.h>
+
+class CTestChain : public CBase
+	{
+public:
+	static CTestChain* NewL(const TDesC& aBuf);
+	static CTestChain* NewLC(const TDesC& aBuf);
+	~CTestChain();
+	CTestChain();
+	virtual void ConstructL(const TDesC& aBuf);
+	TBool AddInter(const TDesC& aBuf, TInt& aPos);
+	//
+	TBuf<128> iEECertFileName;
+	TBuf<128> iEECertLabel;
+	TBuf<128> iRootCertFileName;
+	TBuf<128> iRootCertLabel;
+	CDesCArray* iIntermediateCertsFileName;
+	CDesCArray* iIntermediateCertsLabel;
+	};
+
+class CTestParameters : public CBase
+	{
+public:
+	static CTestParameters* NewL(const TDesC& aBuf);
+	static CTestParameters* NewLC(const TDesC& aBuf);
+	~CTestParameters();
+	CTestParameters();
+	virtual void ConstructL(const TDesC& aBuf);
+	TBool AddPolicy(const TDesC& aBuf, const TDesC& aStart, const TDesC& aEnd, TInt& aPos, CDesCArray& aPolicySet);
+	//
+	TBuf<128> iError;
+	CArrayFixFlat<TValidationStatus>* iWarnings;
+	CDesCArray* iPolicyInput;
+	CDesCArray* iExpectedPolicyOutput;
+	TBool iIPoliciesSet;
+	TBool iOPoliciesSet;
+	TBool iOWarningsSet;
+	};
+
+#endif