1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptoservices/certificateandkeymgmt/tpkixcert/tpkixcertval.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,69 @@
1.4 +/*
1.5 +* Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of the License "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +*
1.19 +*/
1.20 +
1.21 +
1.22 +/**
1.23 + @file
1.24 + @internalTechnology
1.25 +*/
1.26 +
1.27 +#ifndef __TPKIXCERTVAL_H__
1.28 +#define __TPKIXCERTVAL_H__
1.29 +
1.30 +#include <e32std.h>
1.31 +#include <badesca.h>
1.32 +#include <x509certchain.h>
1.33 +
1.34 +class CTestChain : public CBase
1.35 + {
1.36 +public:
1.37 + static CTestChain* NewL(const TDesC& aBuf);
1.38 + static CTestChain* NewLC(const TDesC& aBuf);
1.39 + ~CTestChain();
1.40 + CTestChain();
1.41 + virtual void ConstructL(const TDesC& aBuf);
1.42 + TBool AddInter(const TDesC& aBuf, TInt& aPos);
1.43 + //
1.44 + TBuf<128> iEECertFileName;
1.45 + TBuf<128> iEECertLabel;
1.46 + TBuf<128> iRootCertFileName;
1.47 + TBuf<128> iRootCertLabel;
1.48 + CDesCArray* iIntermediateCertsFileName;
1.49 + CDesCArray* iIntermediateCertsLabel;
1.50 + };
1.51 +
1.52 +class CTestParameters : public CBase
1.53 + {
1.54 +public:
1.55 + static CTestParameters* NewL(const TDesC& aBuf);
1.56 + static CTestParameters* NewLC(const TDesC& aBuf);
1.57 + ~CTestParameters();
1.58 + CTestParameters();
1.59 + virtual void ConstructL(const TDesC& aBuf);
1.60 + TBool AddPolicy(const TDesC& aBuf, const TDesC& aStart, const TDesC& aEnd, TInt& aPos, CDesCArray& aPolicySet);
1.61 + //
1.62 + TBuf<128> iError;
1.63 + CArrayFixFlat<TValidationStatus>* iWarnings;
1.64 + CDesCArray* iPolicyInput;
1.65 + CDesCArray* iExpectedPolicyOutput;
1.66 + TBool iIPoliciesSet;
1.67 + TBool iOPoliciesSet;
1.68 + TBool iOWarningsSet;
1.69 + };
1.70 +
1.71 +#endif
1.72 +