--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/omadrm/drmengine/roap/inc/RightsReq.h Thu Dec 17 08:52:27 2009 +0200
@@ -0,0 +1,153 @@
+/*
+* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: ?Description
+*
+*/
+
+
+
+#ifndef RIGHTSREQ_H
+#define RIGHTSREQ_H
+
+// INCLUDES
+
+#include <hash.h>
+#include "RoapMessage.h"
+#include "RoapDef.h"
+
+namespace Roap
+{
+
+// CLASS DECLARATION
+
+/**
+* ?one_line_short_description.
+* ?other_description_lines
+*
+* @lib ?library
+* @since Series ?XX ?SeriesXX_version
+*/
+class CRightsReq : public CRoapMessage
+ {
+ public: // Constructors and destructor
+
+ /**
+ * Two-phased constructor.
+ */
+ static CRightsReq* NewL();
+
+ /**
+ * Destructor.
+ */
+ virtual ~CRightsReq();
+
+ public: // New functions
+
+ /**
+ * ?member_description.
+ * @since Series ?XX ?SeriesXX_version
+ * @param ?arg1 ?description
+ * @return ?description
+ */
+ //?type ?member_function( ?type ?arg1 );
+
+ public: // Functions from base classes
+
+ /**
+ * From ?base_class ?member_description.
+ * @since Series ?XX ?SeriesXX_version
+ * @param ?arg1 ?description
+ * @return ?description
+ */
+ virtual HBufC8* MessageAsXmlL(void);
+
+ protected: // New functions
+
+ /**
+ * ?member_description.
+ * @since Series ?XX ?SeriesXX_version
+ * @param ?arg1 ?description
+ * @return ?description
+ */
+ //?type ?member_function( ?type ?arg1 );
+
+ protected: // Functions from base classes
+
+ /**
+ * From ?base_class ?member_description
+ */
+ //?type ?member_function();
+
+ private:
+
+ /**
+ * C++ default constructor.
+ */
+ CRightsReq();
+
+ /**
+ * By default Symbian 2nd phase constructor is private.
+ */
+ void ConstructL();
+
+ // Prohibit copy constructor if not deriving from CBase.
+ // CRightsReq( const CRightsReq& );
+ // Prohibit assigment operator if not deriving from CBase.
+ // CRightsReq& operator=( const CRightsReq& );
+
+ public: // Data
+ // ?one_line_short_description_of_data
+
+ TBuf8<SHA1_HASH> iDeviceId;
+ TBuf8<SHA1_HASH> iRiId;
+ HBufC8* iDomainId;
+ TBuf8<KDeviceNonceLength> iNonce;
+ TTime iTime;
+ RPointerArray<HBufC8> iCertificateChain;
+ HBufC8* iSignature;
+ RPointerArray<HBufC8> iRoIdList;
+ TBuf8<SHA1_HASH> iDcfHash;
+ HBufC8* iOcspResponderKeyId;
+ TBuf8<SHA1_HASH> iPeerKeyIdentifier;
+ TBool iOcspInfoStored;
+ RPointerArray<HBufC8> iTransTrackIDs;
+ RPointerArray<HBufC8> iContentIDs;
+
+ // Optional nonce from the trigger
+ HBufC8* iTriggerNonce;
+
+ protected: // Data
+ // ?one_line_short_description_of_data
+ //?data_declaration;
+
+ private: // Data
+ // ?one_line_short_description_of_data
+ //?data_declaration;
+
+ // Reserved pointer for future extension
+ //TAny* iReserved;
+
+ public: // Friend classes
+ //?friend_class_declaration;
+ protected: // Friend classes
+ //?friend_class_declaration;
+ private: // Friend classes
+ //?friend_class_declaration;
+
+ };
+}
+
+#endif // RIGHTSREQ_H
+
+// End of File