#
# 00000100.txt
# Test config file for central repository
#
# PlatSec test
#

cenrep
version 1

[owner]
0x12345

[defaultMeta]
0x00000010
0x100 0x400 0x00000020
0x1000 mask = 0x04 0x00000040

#
[platsec]
# available capabilities
#     "CommDD",
#     "PowerMgmt",
#     "MultimediaDD",
#     "ReadDeviceData",
#     "WriteDeviceData",
#     "DRM",
#     "TrustedUI",
#     "ProtServ",
#     "DiskAdmin",
#     "NetworkControl",
#     "AllFiles",
#     "SwEvent",
#     "NetworkServices",
#     "LocalServices",
#     "ReadUserData",
#     "WriteUserData",
#     "Location"

#
# IMPORTANT NOTE:
#
# If the following security policies are changed, please ensure that the enforcement
# check in t_cenrep_platsec.cpp E32Main() is updated accordingly to ensure that the
# test continues to work in situations where the relevant platform security
# configuration settings are not enforced.
#

# default capabilities for this repository
cap_rd=ReadDeviceData cap_wr = WriteDeviceData

#capabilities defined per range of indexes
0x100 0x200 cap_rd=ReadDeviceData cap_wr=NetworkServices
0x200 0x300 cap_rd = AlwaysPass cap_wr=AlwaysPass
0x005 mask = 0x000fffff sid_rd=100 sid_wr=100
0x1000 0x2000 cap_wr=DRM
0x04000000 0x05000000 cap_rd = NetworkControl cap_wr = NetworkControl

[main]
1 int 1 0
2 real 2.732 0xa
5 string "test\\\"string\"" 0x01000000
6 int 12 0xf cap_rd=NetworkServices
8 real 1.5 1 sid_rd=0 sid_wr=10 cap_wr=CommDD,WriteDeviceData
11 string string 0x305
0x11 real 1.5 12 cap_wr = LocalServices
0x101 int 100 0
0x201 int 200 0
0x202 int 200 0 cap_rd=DRM

0x300 string "Hello World" 0

0x02010100 int 100 0
0x02010200 int 200 0
0x02010300 int 300 0
0x02010400 int 400 0
0x02010500 int 500 0
0x02010600 string8 "test changed" 0
0x02010700 real 2.5 0

0x03010100 int 100 0x01000000
0x03010200 int 200 0x01000000
0x03010300 int 300 0x01000000
0x03010400 int 400 0x01000000
0x03010500 int 500 0x01000000
0x03010600 string8 "test changed" 0x01000000
0x03010700 real 2.5 0x01000000

0x04010100 int 100 0
0x04010200 int 200 0
0x04010300 int 300 0
0x04010400 int 400 0
0x04010500 int 500 0