2.4 ADSSecurePropertyHeader

The ADSSecurePropertyHeader structure specifies fields that correspond to the ADM attributes of a Property Definition Instance ([MS-FSRM] section 3.2.1.6.5) ADM element instance with a Property Definition Instance.Secure ADM attribute set to TRUE and that are written to an FCIADS stream. Each such Property Definition Instance ADM element instance is referred to as a Secure Property.


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

SecureType

Flags

Length

ValueOffset

Name (variable)

...

...

Value (variable)

...

...

SecureType (4 bytes): A 32-bit unsigned integer that specifies whether the type of the Secure Property is an integer or a string value. MUST be set to only one value of the FCI_ADS_SECURE_PROPERTY_TYPE ([MS-FSRM] section 2.2.1.2.20) enumeration. If the Secure Property has a Property Definition Instance.Type ADM attribute FsrmPropertyDefinitionType ([MS-FSRM] section 2.2.2.3.1.1) enumeration value of FsrmPropertyDefinitionType_MultiChoiceList, FsrmPropertyDefinitionType_String, or FsrmPropertyDefinitionType_MultiString, this field SHOULD be set to FCI_ADS_SECURE_PROPERTY_TYPE_STRING. If the Secure Property has a Property Definition Instance.Type ADM attribute FsrmPropertyDefinitionType enumeration value of FsrmPropertyDefinitionType_OrderedList, FsrmPropertyDefinitionType_Int, or FsrmPropertyDefinitionType_Bool, this field SHOULD be set to FCI_ADS_SECURE_PROPERTY_TYPE_INT64. All other Property Definition Instance.Type ADM attribute values MUST NOT be stored in this field.

Flags (4 bytes): A 32-bit unsigned integer that indicates the state of the Secure Property as a bitwise OR of values of the ADSCachePropertyFlags ([MS-FSRM] section 2.2.1.2.19) enumeration.

Length (4 bytes): A 32-bit unsigned integer set to the length, in bytes, of the ADSSecurePropertyHeader structure.

ValueOffset (4 bytes): A 32-bit unsigned integer set to the offset, in bytes, of the Value field from the beginning of the ADSSecurePropertyHeader structure.

Name (variable): A null-terminated string encoded in UTF-16LE format that specifies the Property Definition Instance.Name ADM attribute of the Secure Property in the FCIADS stream.

Value (variable): A null-terminated string encoded in UTF-16LE format that specifies the Property Definition Instance.Value ADM attribute of the Secure Property in the FCIADS stream.