os/security/cryptoservices/certificateandkeymgmt/tpkcs7/validate.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) 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  @file 
    21  @internalTechnology
    22 */
    23 
    24 #if (!defined __TPKCS7_VALIDATE_H__)
    25 #define __TPKCS7_VALIDATE_H__
    26 #include <e32base.h>
    27 #include "pkcs7signedobject.h"
    28 #include <pkcs7contentinfo_v2.h>
    29 #include <pkixcertchain.h>
    30 
    31 class CTPKCS7Validator : public CActive
    32 	{
    33 public:
    34 	CTPKCS7Validator (CPKIXCertChain* aChain, CPKIXValidationResult* aResult, TTime* aTime);
    35 	~CTPKCS7Validator ();
    36 	void doValidate();
    37 
    38 private:
    39 	void RunL ();
    40 	void DoCancel ();
    41 
    42 	CPKIXCertChain*			iChain;
    43 	CPKIXValidationResult*	iResult;
    44 	TTime*					iTime;
    45 	};
    46 #endif