4.5.7 Rights Policy Template Example

The following is an example of a rights policy template.

 <XrML xmlns="" version="1.2">
   <BODY type="Microsoft Official Rights Template">
     <ISSUEDTIME>2010-06-11T21:44</ISSUEDTIME>
     <DESCRIPTOR>
       <OBJECT>
         <ID type="MS-GUID">{4b1010c0-92b8-4169-8493-b5137c6fe168}</ID>
         <NAME> LCID 1033:NAME CONTOSO Template:DESCRIPTION Template for CONTOSO;</NAME>
       </OBJECT>
     </DESCRIPTOR>
     <ISSUER>
       <OBJECT type="MS-DRM-Server">
         <ID type="MS-GUID">{96c4ca87-b3ff-4ded-9c15-53272e26396f}</ID>
         <NAME>CONTOSO-RMS</NAME>
         <ADDRESS type="URL">HTTP://rms:80/_wmcs</ADDRESS>
       </OBJECT>
       <PUBLICKEY>
         <ALGORITHM>RSA</ALGORITHM>
         <PARAMETER name="public-exponent">
           <VALUE encoding="integer32">65537</VALUE>
         </PARAMETER>
         <PARAMETER name="modulus">
           <VALUE encoding="base64" size="1024">q8uQpk4C1HSB3bbyBskYRn8o1bJbVWYVVb0CFtFdW7qlbNojWrIx8nE1YPGAmuzJLFiIxBK6vRNbeOC0WX3K4sAKRGbKEXRFPq5WQLFAXdzG5f71uohhInRrghCM6F1s9ww10Y3gQ3G4k6F/WktX8ttmfeKHzcrniCYMId0vvJg=</VALUE>
         </PARAMETER>
       </PUBLICKEY>
     </ISSUER>
     <DISTRIBUTIONPOINT>
       <OBJECT type="Publishing-URL">
         <ID type="MS-GUID">{9A23D98E-4449-4ba5-812A-F30808F3CB16}</ID>
         <NAME>Publishing Point</NAME>
         <ADDRESS type="URL">http://rms/_wmcs/licensing</ADDRESS>
       </OBJECT>
     </DISTRIBUTIONPOINT>
     <WORK>
       <OBJECT>
         <ID type="" />
       </OBJECT>
       <RIGHTSGROUP name="Main-Rights">
         <RIGHTSLIST>
           <RIGHT name="OWNER">
             <CONDITIONLIST>
               <ACCESS>
                 <PRINCIPAL>
                   <OBJECT>
                     <ID type="Internal">Owner</ID>
                   </OBJECT>
                 </PRINCIPAL>
               </ACCESS>
             </CONDITIONLIST>
           </RIGHT>
           <VIEW>
             <CONDITIONLIST>
               <ACCESS>
                 <PRINCIPAL>
                   <OBJECT>
                     <ID type="Internal">ANYONE</ID>
                   </OBJECT>
                 </PRINCIPAL>
               </ACCESS>
             </CONDITIONLIST>
           </VIEW>
           <EXTRACT>
             <CONDITIONLIST>
               <ACCESS>
                 <PRINCIPAL>
                   <OBJECT>
                     <ID type="Internal">ANYONE</ID>
                   </OBJECT>
                 </PRINCIPAL>
               </ACCESS>
             </CONDITIONLIST>
           </EXTRACT>
           <RIGHT name="OBJMODEL">
             <CONDITIONLIST>
               <ACCESS>
                 <PRINCIPAL>
                   <OBJECT>
                     <ID type="Internal">ANYONE</ID>
                   </OBJECT>
                 </PRINCIPAL>
               </ACCESS>
             </CONDITIONLIST>
           </RIGHT>
           <RIGHT name="VIEWRIGHTSDATA">
             <CONDITIONLIST>
                 <ACCESS>
                   <PRINCIPAL>
                     <OBJECT>
                       <ID type="Internal">ANYONE</ID>
                     </OBJECT>
                   </PRINCIPAL>
                 </ACCESS>
               </CONDITIONLIST>
           </RIGHT>
           <PRINT>
             <CONDITIONLIST>
               <ACCESS>
                 <PRINCIPAL>
                   <OBJECT>
                     <ID type="Internal">ANYONE</ID>
                   </OBJECT>
                 </PRINCIPAL>
               </ACCESS>
             </CONDITIONLIST>
           </PRINT>
           <EDIT>
             <CONDITIONLIST>
               <ACCESS>
                 <PRINCIPAL>
                   <OBJECT>
                     <ID type="Internal">ANYONE</ID>
                   </OBJECT>
                 </PRINCIPAL>
               </ACCESS>
             </CONDITIONLIST>
           </EDIT>
         </RIGHTSLIST>
       </RIGHTSGROUP>
     </WORK>
   </BODY>
   <SIGNATURE>
     <DIGEST>
       <ALGORITHM>SHA1</ALGORITHM>
       <PARAMETER name="codingtype">
         <VALUE encoding="string">surface-coding</VALUE>
       </PARAMETER>
       <VALUE encoding="base64" size="160">JJVD6qucgGq6dypaYD+Dwo167fU=</VALUE>
 </DIGEST>
     <ALGORITHM>RSA PKCS#1-V1.5</ALGORITHM>
 <VALUE encoding="base64" size="1024">ZZNp/Um/w6MMt/UcKSSoYV1QzZ44YCvFI5K3qEfC6YUXzjV5LaJhKwYQARlGC1AcbzqhYrKgU2s9uZ1Tj8VudQs/VIWGDI9X0eF0rFy8y0grepHt6OSIQaVOUnvMeSVE4Mv3mBN9XBoSZRB65HHjbdqSfuUVPODrk1oj5M+55lI=</VALUE>
   </SIGNATURE>
 </XrML>