os/security/cryptoservices/certificateandkeymgmt/tpkixcert/tpkixcertval.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2 * Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     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".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description: 
    15 *
    16 */
    17 
    18 
    19 /**
    20  @file 
    21  @internalTechnology
    22 */
    23  
    24 #ifndef __TPKIXCERTVAL_H__
    25 #define __TPKIXCERTVAL_H__
    26 
    27 #include <e32std.h>
    28 #include <badesca.h>
    29 #include <x509certchain.h>
    30 
    31 class CTestChain : public CBase
    32 	{
    33 public:
    34 	static CTestChain* NewL(const TDesC& aBuf);
    35 	static CTestChain* NewLC(const TDesC& aBuf);
    36 	~CTestChain();
    37 	CTestChain();
    38 	virtual void ConstructL(const TDesC& aBuf);
    39 	TBool AddInter(const TDesC& aBuf, TInt& aPos);
    40 	//
    41 	TBuf<128> iEECertFileName;
    42 	TBuf<128> iEECertLabel;
    43 	TBuf<128> iRootCertFileName;
    44 	TBuf<128> iRootCertLabel;
    45 	CDesCArray* iIntermediateCertsFileName;
    46 	CDesCArray* iIntermediateCertsLabel;
    47 	};
    48 
    49 class CTestParameters : public CBase
    50 	{
    51 public:
    52 	static CTestParameters* NewL(const TDesC& aBuf);
    53 	static CTestParameters* NewLC(const TDesC& aBuf);
    54 	~CTestParameters();
    55 	CTestParameters();
    56 	virtual void ConstructL(const TDesC& aBuf);
    57 	TBool AddPolicy(const TDesC& aBuf, const TDesC& aStart, const TDesC& aEnd, TInt& aPos, CDesCArray& aPolicySet);
    58 	//
    59 	TBuf<128> iError;
    60 	CArrayFixFlat<TValidationStatus>* iWarnings;
    61 	CDesCArray* iPolicyInput;
    62 	CDesCArray* iExpectedPolicyOutput;
    63 	TBool iIPoliciesSet;
    64 	TBool iOPoliciesSet;
    65 	TBool iOWarningsSet;
    66 	};
    67 
    68 #endif
    69