cryptoservices/certificateandkeymgmt/tpkcs7/validate.h
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 /*
       
     2 * Copyright (c) 2003-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 
       
    21 /**
       
    22  @file 
       
    23  @internalTechnology
       
    24 */
       
    25 
       
    26 #if (!defined __TPKCS7_VALIDATE_H__)
       
    27 #define __TPKCS7_VALIDATE_H__
       
    28 #include <e32base.h>
       
    29 #include <pkcs7signedobject.h>
       
    30 #include <pkcs7contentinfo_v2.h>
       
    31 #include <pkixcertchain.h>
       
    32 
       
    33 class CTPKCS7Validator : public CActive
       
    34 	{
       
    35 public:
       
    36 	CTPKCS7Validator (CPKIXCertChain* aChain, CPKIXValidationResult* aResult, TTime* aTime);
       
    37 	~CTPKCS7Validator ();
       
    38 	void doValidate();
       
    39 
       
    40 private:
       
    41 	void RunL ();
       
    42 	void DoCancel ();
       
    43 
       
    44 	CPKIXCertChain*			iChain;
       
    45 	CPKIXValidationResult*	iResult;
       
    46 	TTime*					iTime;
       
    47 	};
       
    48 #endif