equal
deleted
inserted
replaced
65 TBuf8<50> encryptedStr; |
65 TBuf8<50> encryptedStr; |
66 encryptedStr.Append(KPlainString); |
66 encryptedStr.Append(KPlainString); |
67 encryptedStr.Append(*ro->Key()); |
67 encryptedStr.Append(*ro->Key()); |
68 CleanupStack::PopAndDestroy(ro); |
68 CleanupStack::PopAndDestroy(ro); |
69 |
69 |
|
70 #ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY |
70 //Create an SDP document object and set the created key stream field object |
71 //Create an SDP document object and set the created key stream field object |
71 CSdpDocument* sdpDoc = CreateSdpDocumentLC(); |
72 CSdpDocument* sdpDoc = CreateSdpDocumentLC(); |
72 //Create an SDP key stream field object with an attribute requiring the service protected RO |
73 //Create an SDP key stream field object with an attribute requiring the service protected RO |
73 CSdpMediaField* sdp = CreateSdpLC(0); |
74 CSdpMediaField* sdp = CreateSdpLC(0); |
74 AddMediaFieldL(*sdpDoc, sdp); |
75 AddMediaFieldL(*sdpDoc, sdp); |
110 { |
111 { |
111 SetTestStepResult(EFail); |
112 SetTestStepResult(EFail); |
112 } |
113 } |
113 |
114 |
114 CleanupStack::PopAndDestroy(4, sdpDoc); // fOutputKey, decoder, sink, sdpDoc |
115 CleanupStack::PopAndDestroy(4, sdpDoc); // fOutputKey, decoder, sink, sdpDoc |
|
116 #endif |
|
117 |
|
118 |
115 return TestStepResult(); |
119 return TestStepResult(); |
116 } |
120 } |
117 |
121 |
118 |
122 |
119 //CScafConcurrentKeyStreamSinks |
123 //CScafConcurrentKeyStreamSinks |
169 |
173 |
170 //Secondly copy the program protected RO into the private directories of each stream agent |
174 //Secondly copy the program protected RO into the private directories of each stream agent |
171 CopyFile2AgentsPrivateFolderL(iParent.Fs(), KProgramProtectedRo(), privatePathA); |
175 CopyFile2AgentsPrivateFolderL(iParent.Fs(), KProgramProtectedRo(), privatePathA); |
172 CopyFile2AgentsPrivateFolderL(iParent.Fs(), KProgramProtectedRo(), privatePathB); |
176 CopyFile2AgentsPrivateFolderL(iParent.Fs(), KProgramProtectedRo(), privatePathB); |
173 |
177 |
|
178 #ifdef INTERNALLY_ENABLE_UPWARD_DEPENDENCY |
174 //Create an SDP document object and set the created key stream field object for each decoder |
179 //Create an SDP document object and set the created key stream field object for each decoder |
175 CSdpDocument* sdpDoc = CreateSdpDocumentLC(); |
180 CSdpDocument* sdpDoc = CreateSdpDocumentLC(); |
176 |
181 |
177 //Create a SDP object for RO-A |
182 //Create a SDP object for RO-A |
178 TInt sdpNum = 0; |
183 TInt sdpNum = 0; |
277 |
282 |
278 //Release allocated resources |
283 //Release allocated resources |
279 CleanupStack::PopAndDestroy(2, sinkB); //< decoderB, sink B |
284 CleanupStack::PopAndDestroy(2, sinkB); //< decoderB, sink B |
280 CleanupStack::PopAndDestroy(2, sinkA); //< decoderA, sinkA |
285 CleanupStack::PopAndDestroy(2, sinkA); //< decoderA, sinkA |
281 CleanupStack::PopAndDestroy(sdpDoc); //< sdpDoc |
286 CleanupStack::PopAndDestroy(sdpDoc); //< sdpDoc |
|
287 #endif |
282 return TestStepResult(); |
288 return TestStepResult(); |
283 } |
289 } |