How to package different content so that the same license can be used for all content.

1)      If packaging all the content at the same time, use the same instance of DRMParameters every time you call MediaEncrypter.encryptContent().  All content packaged using the exact same DRMParameters object will be associated with the same license.
2)      If packaging content at different times, but want to have all the content associated with the same license, you need to use V2KeyParameters.setContentEncryptionKey().  The first time you package a piece of content, you would use ContentEncryptionKey.generate() to generate a new key/license ID.  To use the same key/license for later content, you need to store the info in ContentEncryptionKey, so you can pass in the same values later for the new content.

To package content at different times using the same license, you need to implement the following:
Call ContentEncryptionKey.generate to generate a new key and license ID.
On your V2KeyParameters, call setContentEncryptionKey and pass in the object generated in step 1.
Call MediaEncrypter.encryptContent and pass in the V2KeyParameters (via DRMParameters), as usual.
Store the contents of ContentEncryptionKey, so the same values can be used again later.  The key, license ID, and packaging date should all be stored.
When you want to package additional content using this license, lookup the stored key, license ID, and packaging date and pass these into the ContentEncryptionKey constructor to create a ContentEncryptionKey instance.
On your V2KeyParameters, call setContentEncryptionKey and pass in the object generated in step 5.
Call MediaEncrypter.encryptContent and pass in the V2KeyParameters (via DRMParameters), as usual.
The media packaged in steps 3 and 7 should now be protected using the same license.

Similar Messages

  • I cannot install ODX Yosemite over OSX Mavericks as my Mac Book Pro (early 2011) advises that the disc "Mackintosh HD" is used for Time Machine back ups. This is not the case however as I use a separate external HD for this purpose, help please ?!  T

    I cannot install ODX Yosemite over OSX Mavericks as my Mac Book Pro (early 2011) advises that the disc "Mackintosh HD" is used for Time Machine back ups. This is not the case however as I use a separate external HD for this purpose, help please ?!
    Thanks

    Check this link out...
    OS X: Cannot install on a volume used by Time Machine for backups
    I was apart of this thread and it helped the OP...
    Re: System installer thinks my main drive is my time Machine backup and won't install.
    KOT

  • How to set Different applications running on the same computer to use different Gateways?

    Dear All,
    I would like to have different applications running on the same computer to use different Gateways (both gateways are in the same subnet).
    Is it possible in Windows7 with / without a third-party utility?
    Current scenario & requirements:
    I have two internet connections. Both are in the same subnet (192.168.1.0/24) and connected to the same LAN switch
    Gateway for the first connection is 192.168.1.1
    Gateway for the second connection is 192.168.1.2
    I need to set my chrome browser & google talk to use the gateway 192.168.1.1
    I need to set my IE & skype to use the gateway 192.168.1.2
    Is it possible? Answers are appreciated!!
    Regards,
    Anees

    Hi,
    I agree with Bill. Gateway is essentially an IP address for one network to other networks. For example, you have two networks: network A and network B, to make the two networks communicate with each other, you must go through Gateway. That is, as long
    as you set Gateway, then you can make the two networks communicate with each other. The ip address for Gateway is the ip of device with routing enabled. One host machine can own multiple gateways. 
    Andy Altmann
    TechNet Community Support

  • Do you need to use an email as an apple ID?    We have a family email which is currently the apple ID so I can keep track of purchases but i have 2 iPhones and 2 itouches. Can all 4 devices have different apple ID under the same email address. Also for th

    Do you need to use an email as an apple ID?    We have a family email which is currently the apple ID so I can keep track of purchases but i have 2 iPhones and 2 itouches. Can all 4 devices have different apple ID under the same email address. Also I wanted to know because for the game center we wanted to keep track of each individual not just o e account.  DID I MAKE SENSE

    Figured it out. Thanks.

  • I want to change the apple id that is in my Iphone4 to the same apple id I use for the app store

    Hi; I recently got a new I-Phone (4), and it was set up at the store where I purchased it. Here is the problem; my phone has a different apple ID then the one I use on-line for the app store or my apple account. I went into I-tunes, did an update and downloaded the newest Op. system.(Backed up to I-cloud first). The apple ID in my phone didn't change. How do I match up my account ID with what I have on my phone?

    Seems silly to reply to my own question, but I searched to community AFTER I posted my ? and found an answer! Pardon my wasting of space-be back again-I like this site.

  • How to create a file which i can attach to an email using the same print routine i use for printing

    Hi all,
    In my current code i print a document.
    What I would like to do is attach this file - possibly as a pdf - to an email using the same print routine ( with some additional code obviously)
    Did some research on the web and can't find a solution to this.
    Any help would be appreciated.
    Regards
    Jan Konijnenberg

    What I would like to do is attach this file - possibly as a pdf - to an email using the same print routine ( with some additional code obviously)
    You need to install a printer that 'prints' to a PDF file.  Then send your document to that printer and attach the file.  There are several available, free and commercial.
    http://www.dopdf.com/
    There are other formats which may be suitable.
    http://www.howtogeek.com/150891/how-to-print-to-pdf-in-windows-4-tips-and-tricks/

  • Can different people sync on the same computer, can different people sync on the same computer

    Can different Iphones be synced on the same laptop?  I somehow got my daughters contacts, and want them gone.   Is there a shortcut to removing unwanted contacts?  We're new to this era of technology.  Seems like I should have never plugged my phone in here.  Thanks, risa2007

    http://support.apple.com/kb/ht1495

  • Cover flow displays the same two pieces of artwork for all videos.

    I've been adding a collection of tv series I have on DVD to iTunes 9.1.1, it all worked fine initially, I opened each video up of a series of tv programs and used the "Set Poster Frame" option to capture a frame of the program to use as the artwork for that program.
    I normally have the programs sorted by what tv program they belong to, so Cover flow only displays the first episode of a series' artwork. I'm not sure why though but something I did yesterday appears to have caused cover flow to blow a fuse.
    If I chose to sort by name before, cover flow would display all the artwork for each episode, and it showed all the different artworks correctly. Now though after some fiddling I did which I cannot seem to recount my steps back to, it only displays the same two pieces of artwork from two particular episodes for all the videos when it is sorted via name:
    http://img257.imageshack.us/img257/3052/tvprogcoverflow.png
    I've tried removing all the artwork, but there doesn't seem to be an option to delete the poster frame and the poster frame artwork doesn't show up under the artwork tab for the individual videos so I can't delete anything from there. If I select all the videos and then right click and get info, then select the artwork check box and click OK it seemingly deletes all the artwork... Then replaces it again with the exact same artwork!
    Although cover flow shows each video has having the same artwork if I Get Info each video it clearly shows it having the correct artwork so why cover flow is messing around like this I don't know.
    I've tried deleting the album artwork cache in the itunes folder, didn't work. I even tried deleting my entire itunes folder which I have separate from my library and the hidden prefs file in my actual library, but that didn't work either.
    Interestingly enough, if I re-add all the videos they automatically get listed as films and go under the film tab. When looking at them under their cover flow correctly shows every episode with the right artwork:
    http://img200.imageshack.us/img200/8234/filmcoverflow.png
    As soon as I change the Get Info options tab from Film to TV program either for one video or all of them, then cover flow screws up again.
    Any idea how to fix this annoyance?

    The weird thing is, it worked before. I encoded all the videos previously and had them all listed and didn't encounter this problem, but I noticed I'd forgotten to decomb/detelecine the videos so I deleted everything and re-encoded it all. AFter filling the tags out and setting poster frames again I was thinking of making life easier by just pasting the same artwork for every episode, so I did, but didn't like the results so I deleted it again (I selected every video, used Get Info and pasted the artwork that way).
    I think it was after this that the problem started to occur. In any case I've been through every episode and made sure the name, series, episode and episode id fields are all filled in with incremental values and they are. I even made sure the Sort Name field was filled in on every video. But this didn't work either.
    So, thinking another restart was needed I deleted every video again. Re-encoded them all, again. Set the tags for every video and poster frame again. Finished it all off nicely, checked cover flow and was highly annoyed to find it was STILL showing the same two pieces of art work for every video as shown in that image I posted.
    Ultimately, I wouldn't care so much that cover flow is screwing up like this as I always intended to sort by program anyway so it would only ever display one piece of artwork for an entire series of videos, however where-as when it was working it picked the artwork for the first episode of a series to display, its instead picking one of the latter episodes. I can't seem to find any way of choosing what artwork I want displayed.

  • Can the same Apple TV be used for two separate TVs?

    We just moved into a new house and need to know if our Apple TV can be used to stream content to the TV in the living room and the TV in the garage, or if we simply need to buy a second Apple TV.
    The TV in the living room and the TV in the garage are both wired to the same Denon two-zone receiver. The living room is where we watch all of our TV and listen to most of our music. But the garage doubles as a home gym, so I'd like to be able to either watch videos like P90X and Insanity -- they're all in my iTunes library now -- or listen to music while I exercise. Perhaps this is possible due to the two-zone capacity of the receiver.
    I don't need to be able to stream content to both places at the same time, by the way. This is just for the mornings when I want to work out. Right now, the Apple TV is connected to the back of the receiver in the GAME input and works beautifully in the living room. The TV in the garage is yet to be installed, although the wiring back to the original zone is already done. Again, all the speakers and wiring for both TVs will be in the same receiver.
    Is the Apple TV capable of doing what we need it to do, or do we need to get another one?

    I bet you are searching in the wrong forum for solution.
    Since you have a receiver, witch is able to transmit two different signals to two different TVs (just the matter of switch - i suppose?), than, the media being sent from Apple TV just has to be redirected to the 'right' TV witchever you use at that moment.
    Different story with the Audio. Dont know if you using the Speakers on the TV's or on separate Audio Systems.
    Cheers

  • HT1918 iTunes store says I can not use my credit card for the store although it's the same card I've used for years

    The itunes store says "this card cannot be used with the iTunes store. Please use another payment method". It's the same card I've always used, it's valid, up to date, and in good standing, and works everywhere else. What' up with this? I don't want to use a different card.

    You can contact iTunes support via this page (these are user-to-user forums) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Can the same I/Os be used for both scan mode and fpga mode

    Hey guys,
    I currently have this project where I want to have the same I/O in both the RT VI and FPGA VI.
    (as in use a C series module on the RT VI and FPGA VI concurrently).
    For the customer's sake, I want to keep using the scan mode for the ease of programming,
    but I want to use the I/Os in the FPGA VI to implement a safe state.
    Is this possible? Thanks.

    Either scan mode or FPGA interface. You can't use both in one project.
    Suggestion
    Setup a safe mode project or double the target in one project.

  • How do create different link attributes on the same page

    I am using CSS links for my menu. The links are white, large and bold, but I want an email link to be a different color, font and smaller in size. How can I do this?

    Yow 400 somthing views and no one to help this guy...wow you people are mean....
    Ok just use a class for the email link....
    put a span around that email link
    <span class="class_name"><a>email link</a></span>
    then in the css place the class
    .class_name{
    color:red;
    If this doesnt work then that means the class needs to be more specific example
    span .class_name{
    color:red;

  • How to find list of queries that the Cost Center infoobject is used in.

    Hi
    Is there any easy way of finding the list of queries that has cost center (0COSTCENTER) used in them? Please let me know.
    Thanks for your help.

    or try to create and run this program (SE38)
    Where-used list of an attribute (either display or navigational)
    REPORT ZZZ_IO_QUERY.
    tables : RSZRANGE, "table
    RSZELTXREF,
    RSZELTTXT,
    RSRREPDIR,
    RSZSELECT,
    RSZCOMPDIR.
    data : begin of IT_RSZSELECT occurs 0,
    iobjnm like RSZSELECT-iobjnm,
    eltuid like RSZSELECT-eltuid,
    end of IT_RSZSELECT,
    begin of IT_RESULT occurs 0,
    iobj like RSZSELECT-iobjnm,
    iobjnm like RSZSELECT-iobjnm,
    infocube like rszeltxref-infocube,
    compid like rszcompdir-compid,
    txtlg like rszelttxt-txtlg,
    laytp like rszeltxref-laytp,
    end of IT_RESULT.
    data : iobj2 like RSZSELECT-iobjnm,
    l_count type I.
    select-options : IOBJ for RSZSELECT-IOBJNM.
    write :/ 'Infoobject : ', IOBJ+3.
    write at /20(30) 'Name'.
    write at 50(15) 'Infocube'.
    write at 65(30) 'Query Tech Name'.
    write at 95(50) 'Description'.
    loop at IOBJ.
    l_count = 0.
    concatenate '%' iobj-low into iobj2.
    select iobjnm eltuid
    from rszselect
    into table it_RSZSELECT
    where ( iobjnm in IOBJ or
    iobjnm like IOBJ2 )
    and objvers = 'A'.
    loop at it_RSZSELECT.
    it_result-iobj = iobj.
    it_result-iobjnm = it_RSZSELECT-iobjnm.
    select *
    from rszeltxref
    where teltuid = it_RSZSELECT-eltuid
    and objvers = 'A'.
    Query description
    field txtlg
    select *
    from rszelttxt
    where eltuid = rszeltxref-seltuid
    and objvers = 'A'.
    endselect.
    Query technical name
    field compid
    select *
    from rsrrepdir
    where compuid = rszeltxref-seltuid
    and objvers = 'A'.
    endselect.
    endselect.
    it_result-infocube = rszeltxref-infocube.
    if it_result-infocube = ''.
    it_result-infocube = rsrrepdir-infocube.
    endif.
    it_result-compid = rsrrepdir-compid.
    it_result-txtlg = rszelttxt-txtlg.
    it_result-laytp = rszeltxref-laytp.
    append it_result.
    endloop.
    sort it_result by infocube.
    loop at it_result.
    l_count = l_count + 1.
    write at / l_count.
    write at 20(30) it_result-iobjnm.
    write at 50(15) it_result-infocube.
    write at 65(30) it_result-compid.
    write at 95(50) it_result-txtlg.
    endloop.
    endloop.

  • Why isn't ICoud sending a verification email to my email address if the same email address is used for both my ITunes and my ICloud accounts?

    I cannot get my music that was previously purchased through ITunes on another computer to play on my laptop because I donnot have ICloud to transfer all of my previousely purchased music. Icloud and Itunes has the excact same email address listed but I have not recieved a verification email at all. Does anyone know what I need to do?

    Hello Imuscella,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/ht5312
    You can edit or delete your rescue email address at My Apple ID. To edit your rescue email address:
    Navigate to My Apple ID using your web browser.
    Click "Manage your account"
    When prompted, sign in using your Apple ID and password.
    Click Password & Security
    You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
    Note: The option to send an email to reset your security questions and answers will not be available if a rescue email address is not provided. You will need to contact iTunes Store support in order to do so. 
    Best of luck,
    Mario

  • HT4859 I own 2 ipods and one ipad, how much space do I have in the icloud? Is it 5G for each product or 5G for all three?

    I own 2 ipods and one ipad2, how much space do I have in the cloud? Is it 5G for all three devices?

    So, can I use an email for the ipad(which is mine) and a different email for the other 2 ipods(my childrens) and have 5G for each account?

Maybe you are looking for