2.2.9.9.6 RIGHT
The RIGHT element describes a right assigned to the principal named in the use license. One or more RIGHT elements MUST be present.
Each RIGHT element MUST use one of the two following template forms.
Form 1
-
<RIGHT name="[[- rightname -]]" > <CONDITIONLIST> <ACCESS> <PRINCIPAL internal-id="1"> [[- enablingbits -]] </PRINCIPAL> </ACCESS> [[- rangetime -]] [[- intervaltime -]] </CONDITIONLIST> </RIGHT>
Form 2
-
<[[- rightname -]] > <CONDITIONLIST> <ACCESS> <PRINCIPAL internal-id="1"> [[- enablingbits -]] </PRINCIPAL> </ACCESS> [[- rangetime -]] [[- intervaltime -]] </CONDITIONLIST> </[[- rightname -]] >
[[- rightname -]]: In form 1, the name of the right MUST be a name attribute on a RIGHT element and can be any arbitrary right name. In form 2, the name of the right MUST be the name of the element and MUST be one of a set of the following reserved rights:
VIEW
PRINT
EDIT
FORWARD
VIEWRIGHTSDATA
OWNER
-
If the UL has been issued to the author of the original PL, then there MUST be one RIGHT element named OWNER and it MUST follow form 1. All rights to the protected information are granted to this owner and further RIGHT elements MUST NOT be present.
[[- enablingbits -]]: MUST contain the symmetric content key encrypted with the user's public key, contained within an ENABLINGBITS element.
[[- rangetime -]]: SHOULD exist to specify a period of time for which the right can be exercised. If present, this MUST take the following form.
-
<TIME> <RANGETIME> <FROM>=[[- time -]]</FROM> <UNTIL>=[[- time -]]</UNTIL> <RANGETIME/> </TIME>
[[- time -]]: MUST be the time in the format Coordinated Universal Time (UTC).
[[- intervaltime -]]: SHOULD exist to specify a number of days or a time range for which the right can be exercised. If present, this MUST take the following form.
-
<TIME> <INTERVALTIME days="[[- intervaltimedays -]]" /> </TIME>
[[- intervaltimedays -]]: MUST be the number of days specified for the time condition.