os/security/securityanddataprivacytools/securitytools/certapp/encdec/swicertstore.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/securityanddataprivacytools/securitytools/certapp/encdec/swicertstore.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,48 @@
     1.4 +#ifndef __SWICERTSTORE_H__
     1.5 +#define __SWICERTSTORE_H__/*
     1.6 +* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* under the terms of the License "Eclipse Public License v1.0"
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description: 
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +
    1.23 +#include "filecertstore.h"
    1.24 +#include "capabilityset.h"
    1.25 +
    1.26 +/**
    1.27 + * @file
    1.28 + * @internalComponent
    1.29 + */
    1.30 +
    1.31 +class SwiCertStoreEntry : public CertStoreEntry
    1.32 +	{
    1.33 +public:
    1.34 +	static EncDecContainerItem *Factory();
    1.35 +	SwiCertStoreEntry();
    1.36 +	virtual ~SwiCertStoreEntry();
    1.37 +
    1.38 +	virtual void Encode(REncodeWriteStream &aWriteStream);
    1.39 +	virtual void Decode(RDecodeReadStream &aReadStream);
    1.40 +
    1.41 +	SwiCertStoreEntry& operator= (const SwiCertStoreEntry& aRhs);
    1.42 +private:
    1.43 +	SwiCertStoreEntry(const SwiCertStoreEntry &aRef);
    1.44 +	EncDecObject<CapabilitySet> iCapabilitySet;
    1.45 +	EncDecObject<TUint8> iTmpFlags;
    1.46 +	EncDecEnum<TUint8> iMandatory;
    1.47 +	EncDecEnum<TUint8> iSystemUpgrade;
    1.48 +	};
    1.49 +
    1.50 +
    1.51 +#endif