2.2.6.1.2.1 LogicalAndRestriction Structure

The LogicalAndRestriction structure is used to join a group of two or more subrestrictions by using a logical AND operation. The result of the AND operation is TRUE if all of the subrestrictions evaluate to TRUE. The result is FALSE if any subrestriction evaluates to FALSE.

The LogicalAndRestriction structure has the following format.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

RestrictionType

cRes

Reserved

...

SubCondition (variable)

...

RestrictionType (4 bytes):  This field specifies the type of restriction and MUST be set to RES_AND (0x00000000) for the LogicalAndRestriction structure.

cRes (4 bytes):  Specifies the number of subrestrictions contained in the SubCondition field.

Reserved (8 bytes):  The application can fill this field with any value when writing the stream. The application MUST ignore the value of this field when reading the stream.

SubCondition (variable):  This field contains the subrestrictions that make up the LogicalAndRestriction structure. Each subrestriction MUST be one of the structures that is specified in section 2.2.6.1.2.1 through section 2.2.6.1.2.11.