equal
deleted
inserted
replaced
20 #include <e32base.h> |
20 #include <e32base.h> |
21 #include <e32math.h> |
21 #include <e32math.h> |
22 #include <apmstd.h> |
22 #include <apmstd.h> |
23 #include <utf.h> |
23 #include <utf.h> |
24 #include <stringpool.h> |
24 #include <stringpool.h> |
25 #include <xml/ParserFeature.h> |
25 #include <xml/parserfeature.h> |
26 |
26 |
27 #ifdef _DEBUG |
27 #ifdef _DEBUG |
28 #include <flogger.h> |
28 #include <flogger.h> |
29 #endif // _DEBUG |
29 #endif // _DEBUG |
30 #include "base64.h" |
30 #include "Base64.h" |
31 #include "DcfCommon.h" |
31 #include "DcfCommon.h" |
32 #include "DrmRightsParser.h" |
32 #include "DrmRightsParser.h" |
33 #include "DrmProtectedRoParser.h" |
33 #include "DRMProtectedRoParser.h" |
34 #include "DrmRightsClient.h" |
34 #include "DRMRightsClient.h" |
35 #include "hash.h" |
35 #include "hash.h" |
36 #include "DRMCommon.h" |
36 #include "DRMCommon.h" |
37 #include "OmaCrypto.h" |
37 #include "OmaCrypto.h" |
38 #include "CmlaCrypto.h" |
38 #include "CmlaCrypto.h" |
39 #include "DrmPermission.h" |
39 #include "DrmPermission.h" |
40 #include "RoapMessage.h" |
40 #include "RoapMessage.h" |
41 #include "DcfRep.h" |
41 #include "DcfRep.h" |
42 #include "DcfEntry.h" |
42 #include "DcfEntry.h" |
43 #include "Oma2Dcf.h" |
43 #include "oma2dcf.h" |
44 |
44 |
45 using namespace Roap; |
45 using namespace Roap; |
46 using namespace Xml; |
46 using namespace Xml; |
47 |
47 |
48 // MODULE DATA STRUCTURES |
48 // MODULE DATA STRUCTURES |
802 calculatedHash = NULL; |
802 calculatedHash = NULL; |
803 |
803 |
804 if ( integrityCheck && !r ) |
804 if ( integrityCheck && !r ) |
805 { |
805 { |
806 // Only add the rigths which were parsed in this loop |
806 // Only add the rigths which were parsed in this loop |
807 |
807 |
808 for ( TInt i( n ); i < aResultRights.Count(); i++) |
808 for ( TInt i( n ); i < aResultRights.Count(); i++) |
809 { |
809 { |
810 cid = NULL; |
810 cid = NULL; |
811 rights = aResultRights[i]; |
811 rights = aResultRights[i]; |
812 rights->GetContentURI(cid); |
812 rights->GetContentURI(cid); |