The invention relates to a method, a system, an electronic device and a
computer program for providing at least one content stream to an
electronic device applying Digital Rights Management (DRM). In the method
a master integrity key is obtained in a streaming node. An encrypted
master integrity key is obtained in an electronic device. The encrypted
master integrity key is decrypted in the electronic device. At least one
session integrity key is formed in the streaming node and in the
electronic device using at least the master integrity key and the
integrity of at least one content stream is protected between the
streaming node and the electronic device using the at least one session
integrity key.