symbian3/os/security/package_definition.xml
branchHighFidelityModel
changeset 47 424ba1d4ccef
parent 30 0f4f00318d20
child 81 4709480770ad
equal deleted inserted replaced
46:c94b55c3fb61 47:424ba1d4ccef
     1 <?xml version="1.0" encoding="UTF-8"?>
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!DOCTYPE SystemDefinition [
     2 <!DOCTYPE SystemDefinition [
     3  <!ELEMENT SystemDefinition (systemModel?,SystemBuild?)>
     3 <!ELEMENT SystemDefinition ( systemModel )>
     4  <!ATTLIST SystemDefinition
     4 <!ATTLIST SystemDefinition
     5   name CDATA #REQUIRED
     5   name CDATA #REQUIRED
     6   schema CDATA #REQUIRED>
     6   schema CDATA #REQUIRED
     7  <!ELEMENT systemModel (layer+)>
     7 >
     8  <!ELEMENT layer (block*|collection*)*>
     8 <!-- all paths are relative to the environment variable specified by the root attribute, or SOURCEROOT if not.  -->
     9  <!ATTLIST layer
     9 
       
    10 <!-- System Model Section of DTD -->
       
    11 <!ELEMENT systemModel (layer+)>
       
    12 
       
    13 <!ELEMENT layer (block* | collection*)*>
       
    14 <!-- Kernel Services, Base Services, OS Services, Etc -->
       
    15 <!ATTLIST layer
    10   name CDATA #REQUIRED
    16   name CDATA #REQUIRED
    11   long-name CDATA #IMPLIED
    17   long-name CDATA #IMPLIED
    12   levels NMTOKENS #IMPLIED
    18   levels NMTOKENS #IMPLIED
    13   span CDATA #IMPLIED>
    19   span CDATA #IMPLIED
    14  <!ELEMENT block (subblock*|collection*)*>
    20 >
    15  <!ATTLIST block
    21 
       
    22 <!ELEMENT block (subblock* | collection*)*>
       
    23  <!-- Generic OS services, Comms Services, etc -->
       
    24 <!ATTLIST block
    16   levels NMTOKENS #IMPLIED
    25   levels NMTOKENS #IMPLIED
    17   span CDATA #IMPLIED
    26   span CDATA #IMPLIED
    18   level NMTOKEN #IMPLIED
    27   level NMTOKEN #IMPLIED
    19   name CDATA #REQUIRED
    28   name CDATA #REQUIRED
    20   long-name CDATA #IMPLIED>
    29   long-name CDATA #IMPLIED
    21  <!ELEMENT subblock (collection)*>
    30 >
    22  <!ATTLIST subblock
    31 
    23   name CDATA #REQUIRED
    32 <!ELEMENT subblock (collection)*>
    24   long-name CDATA #IMPLIED>
    33 <!-- Cellular Baseband Services, Networking Services, etc -->
    25  <!ELEMENT collection (component)*>
    34 <!ATTLIST subblock
    26  <!ATTLIST collection
       
    27   name CDATA #REQUIRED
    35   name CDATA #REQUIRED
    28   long-name CDATA #IMPLIED
    36   long-name CDATA #IMPLIED
    29   level NMTOKEN #IMPLIED>
    37 >
    30  <!ELEMENT component (unit)*>
    38 
    31  <!ATTLIST component
    39 <!ELEMENT collection (component)*>
       
    40 <!-- Screen Driver, Content Handling, etc -->
       
    41 <!ATTLIST collection
       
    42   name CDATA #REQUIRED
       
    43   long-name CDATA #IMPLIED
       
    44   level NMTOKEN #IMPLIED
       
    45 >
       
    46 
       
    47 <!ELEMENT component (unit)*>
       
    48 <!-- contains units or is a  package or prebuilt -->
       
    49 <!ATTLIST component
    32   name CDATA #REQUIRED
    50   name CDATA #REQUIRED
    33   long-name CDATA #IMPLIED
    51   long-name CDATA #IMPLIED
    34   deprecated CDATA #IMPLIED
    52   deprecated CDATA #IMPLIED
    35   introduced CDATA #IMPLIED
    53   introduced CDATA #IMPLIED
    36   contract CDATA #IMPLIED
    54   contract CDATA #IMPLIED
    37   plugin (Y|N) 'N'
    55   plugin (Y|N) "N"
    38   filter CDATA #IMPLIED
    56   filter CDATA #IMPLIED
    39   class NMTOKENS #IMPLIED
    57   class NMTOKENS #IMPLIED
    40   supports CDATA #IMPLIED
    58   supports CDATA #IMPLIED
    41   purpose (optional|mandatory|development) 'optional'>
    59   purpose ( optional | mandatory | development ) "optional"
    42  <!ELEMENT unit EMPTY>
    60 >
    43  <!ATTLIST unit
    61 
       
    62 <!ELEMENT unit EMPTY >
       
    63 <!-- must be buildable (bld.inf) -->
       
    64 <!-- bldFile  may someday be removed in favour of mrp -->
       
    65 <!ATTLIST unit
    44   mrp CDATA #IMPLIED
    66   mrp CDATA #IMPLIED
    45   filter CDATA #IMPLIED
    67   filter CDATA #IMPLIED
    46   bldFile CDATA #IMPLIED
    68   bldFile CDATA #IMPLIED
    47   root CDATA #IMPLIED
    69   root CDATA #IMPLIED
    48   version NMTOKEN #IMPLIED
    70   version NMTOKEN #IMPLIED
    49   prebuilt NMTOKEN #IMPLIED
    71   prebuilt NMTOKEN #IMPLIED
    50   late (Y|N) #IMPLIED
    72   late (Y|N) #IMPLIED
    51   priority CDATA #IMPLIED>
    73   priority CDATA #IMPLIED
    52  <!ELEMENT SystemBuild (option*|target+|targetList+|list+|configuration+)*>
    74 >
    53  <!ATTLIST SystemBuild schema CDATA #REQUIRED>
       
    54  <!ELEMENT list (ref+)>
       
    55  <!ATTLIST list
       
    56   name ID #REQUIRED
       
    57   description CDATA #REQUIRED>
       
    58  <!ELEMENT ref EMPTY>
       
    59  <!ATTLIST ref item CDATA #REQUIRED>
       
    60  <!ELEMENT targetList EMPTY>
       
    61  <!ATTLIST targetList
       
    62   name ID #REQUIRED
       
    63   description CDATA #REQUIRED
       
    64   target IDREFS #REQUIRED>
       
    65  <!ELEMENT target EMPTY>
       
    66  <!ATTLIST target
       
    67   name ID #REQUIRED
       
    68   abldTarget CDATA #REQUIRED
       
    69   description CDATA #REQUIRED>
       
    70  <!ELEMENT option EMPTY>
       
    71  <!ATTLIST option
       
    72   name ID #REQUIRED
       
    73   abldOption CDATA #REQUIRED
       
    74   description CDATA #REQUIRED
       
    75   enable (Y|N) #REQUIRED>
       
    76  <!ELEMENT configuration (listRef+|ref+|task+)*>
       
    77  <!ATTLIST configuration
       
    78   name ID #REQUIRED
       
    79   description CDATA #REQUIRED
       
    80   filter CDATA #REQUIRED>
       
    81  <!ELEMENT task (listRef*,(buildLayer|specialInstructions))>
       
    82  <!ELEMENT listRef EMPTY>
       
    83  <!ATTLIST listRef list CDATA #REQUIRED>
       
    84  <!ELEMENT buildLayer EMPTY>
       
    85  <!ATTLIST buildLayer
       
    86   command CDATA #REQUIRED
       
    87   targetList IDREFS #IMPLIED
       
    88   unitParallel (Y|N) #REQUIRED
       
    89   targetParallel (Y|N) 'N'>
       
    90  <!ELEMENT specialInstructions EMPTY>
       
    91  <!ATTLIST specialInstructions
       
    92   name CDATA #REQUIRED
       
    93   cwd CDATA #REQUIRED
       
    94   root CDATA #IMPLIED
       
    95   command CDATA #REQUIRED>
       
    96 ]>
    75 ]>
    97 <SystemDefinition schema="2.0.1" name="Symbian^3">
    76 <SystemDefinition name="Symbian^3" schema="2.0.1">
    98 <systemModel>
    77   <systemModel>
    99 <layer name="os" long-name="OS" levels="hw services">
    78     <layer name="os" long-name="OS" levels="hw services">
   100 <block name="security" level="services" long-name="OS Security" levels="physical-abstraction plugins libraries management services utilities">
    79       <block name="security" level="services" long-name="OS Security" levels="physical-abstraction plugins libraries management services utilities">
   101 <collection name="authorisation" long-name="Authorisation" level="utilities">
    80         <collection name="authenticationservices" long-name="Authentication Services" level="utilities">
   102 <component name="userpromptservice" long-name="User Prompt Service" introduced="tb92" purpose="mandatory">
    81           <component name="authenticationserver" long-name="Authentication Server" introduced="^3" purpose="optional">
   103 <unit bldFile="/sf/os/security/authorisation/userpromptservice/group" mrp="/sf/os/security/authorisation/userpromptservice/group/security_ups.mrp"/>
    82             <unit bldFile="/sf/os/security/authenticationservices/authenticationserver/group" mrp="/sf/os/security/authenticationservices/authenticationserver/group/security_authserver.mrp"/>
   104 </component>
    83           </component>
   105 <component name="userpromptutils" long-name="User Prompt Utils" introduced="tb92" purpose="optional">
    84         </collection>
   106 <unit bldFile="/sf/os/security/authorisation/userpromptutils/group" mrp="/sf/os/security/authorisation/userpromptutils/group/security_ups_utils.mrp"/>
    85         <collection name="authorisation" long-name="Authorisation" level="utilities">
   107 </component>
    86           <component name="userpromptservice" long-name="User Prompt Service" introduced="^3" purpose="mandatory">
   108 </collection>
    87             <unit bldFile="/sf/os/security/authorisation/userpromptservice/group" mrp="/sf/os/security/authorisation/userpromptservice/group/security_ups.mrp"/>
   109 <collection name="contentmgmt" long-name="Content Management" level="utilities">
    88           </component>
   110 <component name="contentaccessfwfordrm" long-name="Content Access Framework for DRM" introduced="9.1" purpose="mandatory">
    89           <component name="userpromptutils" long-name="User Prompt Utils" introduced="^3" purpose="optional">
   111 <unit bldFile="/sf/os/security/contentmgmt/contentaccessfwfordrm/group" mrp="/sf/os/security/contentmgmt/contentaccessfwfordrm/group/security_caf2.mrp"/>
    90             <unit bldFile="/sf/os/security/authorisation/userpromptutils/group" mrp="/sf/os/security/authorisation/userpromptutils/group/security_ups_utils.mrp"/>
   112 </component>
    91           </component>
   113 <component name="cafrecogniserconfig" long-name="CAF Recogniser Config" introduced="9.1" purpose="mandatory">
    92         </collection>
   114 <unit bldFile="/sf/os/security/contentmgmt/cafrecogniserconfig" mrp="/sf/os/security/contentmgmt/cafrecogniserconfig/security_reccafconfig.mrp"/>
    93         <collection name="contentmgmt" long-name="Content Management" level="utilities">
   115 </component>
    94           <component name="contentaccessfwfordrm" long-name="Content Access Framework for DRM" introduced="9.1" purpose="mandatory">
   116 <component name="referencedrmagent" long-name="Reference DRM Agent" introduced="8.0" purpose="development">
    95             <unit bldFile="/sf/os/security/contentmgmt/contentaccessfwfordrm/group" mrp="/sf/os/security/contentmgmt/contentaccessfwfordrm/group/security_caf2.mrp"/>
   117 <unit bldFile="/sf/os/security/contentmgmt/referencedrmagent/RefTestAgent/group" mrp="/sf/os/security/contentmgmt/referencedrmagent/RefTestAgent/group/security_rta.mrp"/>
    96           </component>
   118 </component>
    97           <component name="cafrecogniserconfig" long-name="CAF Recogniser Config" introduced="9.1" purpose="mandatory">
   119 </collection>
    98             <unit bldFile="/sf/os/security/contentmgmt/cafrecogniserconfig" mrp="/sf/os/security/contentmgmt/cafrecogniserconfig/security_reccafconfig.mrp"/>
   120 <collection name="crypto" long-name="Crypto Libraries" level="libraries">
    99           </component>
   121 <component name="weakcryptospi" long-name="Weak Crypto SPI" filter="gt" introduced="tb92" purpose="optional">
   100           <component name="referencedrmagent" long-name="Reference DRM Agent" introduced="8.0" purpose="development">
   122 <unit bldFile="/sf/os/security/crypto/weakcryptospi/group" mrp="/sf/os/security/crypto/weakcryptospi/group/security_cryptospi_weak.mrp"/>
   101             <unit bldFile="/sf/os/security/contentmgmt/referencedrmagent/RefTestAgent/group" mrp="/sf/os/security/contentmgmt/referencedrmagent/RefTestAgent/group/security_rta.mrp"/>
   123 </component>
   102           </component>
   124 <component name="strongcryptospi" long-name="Strong Crypto SPI" filter="gt" introduced="tb92" purpose="optional">
   103         </collection>
   125 <unit bldFile="/sf/os/security/crypto/weakcryptospi/strong" mrp="/sf/os/security/crypto/weakcryptospi/group/security_cryptospi_strong.mrp"/>
   104         <collection name="crypto" long-name="Crypto Libraries" level="libraries">
   126 </component>
   105           <component name="weakcryptospi" long-name="Weak Crypto SPI" filter="gt" introduced="^3" purpose="optional">
   127 </collection>
   106             <unit bldFile="/sf/os/security/crypto/weakcryptospi/group" mrp="/sf/os/security/crypto/weakcryptospi/group/security_cryptospi_weak.mrp"/>
   128 <collection name="cryptomgmtlibs" long-name="Crypto Management Libraries" level="management">
   107           </component>
   129 <component name="securityutils" long-name="Security Utils" introduced="8.0" purpose="optional">
   108           <component name="strongcryptospi" long-name="Strong Crypto SPI" filter="gt" introduced="^3" purpose="optional">
   130 <unit bldFile="/sf/os/security/cryptomgmtlibs/securityutils/group" mrp="/sf/os/security/cryptomgmtlibs/securityutils/group/security_common.mrp"/>
   109             <unit bldFile="/sf/os/security/crypto/weakcryptospi/strong" mrp="/sf/os/security/crypto/weakcryptospi/group/security_cryptospi_strong.mrp"/>
   131 </component>
   110           </component>
   132 <component name="securitytestfw" long-name="Security Test Framework" deprecated="tb92" introduced="7.0" purpose="development">
   111         </collection>
   133 <unit mrp="/sf/os/security/cryptomgmtlibs/securitytestfw/group/security_testframework.mrp"/>
   112         <collection name="cryptomgmtlibs" long-name="Crypto Management Libraries" level="management">
   134 </component>
   113           <component name="securityutils" long-name="Security Utils" introduced="8.0" purpose="optional">
   135 <component name="securitydocs" long-name="Security Documentation" purpose="development" class="doc">
   114             <unit bldFile="/sf/os/security/cryptomgmtlibs/securityutils/group" mrp="/sf/os/security/cryptomgmtlibs/securityutils/group/security_common.mrp"/>
   136 <unit mrp="/sf/os/security/cryptomgmtlibs/securitydocs/security_documentation.mrp"/>
   115           </component>
   137 </component>
   116           <component name="securitytestfw" long-name="Security Test Framework" deprecated="^3" introduced="7.0" purpose="development" filter="test">
   138 <component name="cryptotokenfw" long-name="Crypto Token Framework" introduced="7.0" purpose="optional">
   117             <unit mrp="/sf/os/security/cryptomgmtlibs/securitytestfw/group/security_testframework.mrp" bldFile="/sf/os/security/cryptomgmtlibs/securitytestfw/group"/>
   139 <unit bldFile="/sf/os/security/cryptomgmtlibs/cryptotokenfw/group" mrp="/sf/os/security/cryptomgmtlibs/cryptotokenfw/group/security_cryptotokens.mrp"/>
   118           </component>
   140 </component>
   119           <component name="securitydocs" long-name="Security Documentation" purpose="development" class="doc">
   141 <component name="securitycommonutils" long-name="Security Common Utils" introduced="8.0" purpose="mandatory">
   120             <unit mrp="/sf/os/security/cryptomgmtlibs/securitydocs/security_documentation.mrp"/>
   142 <unit bldFile="/sf/os/security/cryptomgmtlibs/securitycommonutils/group" mrp="/sf/os/security/cryptomgmtlibs/securitycommonutils/group/security_commonutils.mrp"/>
   121           </component>
   143 </component>
   122           <component name="cryptotokenfw" long-name="Crypto Token Framework" introduced="7.0" purpose="optional">
   144 </collection>
   123             <unit bldFile="/sf/os/security/cryptomgmtlibs/cryptotokenfw/group" mrp="/sf/os/security/cryptomgmtlibs/cryptotokenfw/group/security_cryptotokens.mrp"/>
   145 <collection name="securityanddataprivacytools" long-name="Security and Data Privacy Tools" level="services">
   124           </component>
   146 <component name="securityconfig" long-name="Security Config" introduced="9.1" purpose="optional">
   125           <component name="securitycommonutils" long-name="Security Common Utils" introduced="8.0" purpose="mandatory">
   147 <unit bldFile="/sf/os/security/securityanddataprivacytools/securityconfig/group" mrp="/sf/os/security/securityanddataprivacytools/securityconfig/group/security_config.mrp"/>
   126             <unit bldFile="/sf/os/security/cryptomgmtlibs/securitycommonutils/group" mrp="/sf/os/security/cryptomgmtlibs/securitycommonutils/group/security_commonutils.mrp"/>
   148 </component>
   127           </component>
   149 <component name="securitytools" long-name="Security Tools" introduced="tb92" purpose="optional" class="PC">
   128         </collection>
   150 <unit bldFile="/sf/os/security/securityanddataprivacytools/securitytools/group" mrp="/sf/os/security/securityanddataprivacytools/securitytools/group/security_tools.mrp"/>
   129         <collection name="securityanddataprivacytools" long-name="Security and Data Privacy Tools" level="services">
   151 </component>
   130           <component name="securityconfig" long-name="Security Config" introduced="9.1" purpose="optional">
   152 </collection>
   131             <unit bldFile="/sf/os/security/securityanddataprivacytools/securityconfig/group" mrp="/sf/os/security/securityanddataprivacytools/securityconfig/group/security_config.mrp"/>
   153 <collection name="cryptoplugins" long-name="Crypto Plugins" level="plugins">
   132           </component>
   154 <component name="cryptospiplugins" long-name="Crypto SPI Plugins" filter="gt" introduced="tb92" purpose="optional" plugin="Y">
   133           <component name="securitytools" long-name="Security Tools" introduced="^3" purpose="optional" class="PC">
   155 <unit bldFile="/sf/os/security/cryptoplugins/cryptospiplugins/group" mrp="/sf/os/security/cryptoplugins/cryptospiplugins/group/security_cryptospi_plugins.mrp"/>
   134             <unit bldFile="/sf/os/security/securityanddataprivacytools/securitytools/group" mrp="/sf/os/security/securityanddataprivacytools/securitytools/group/security_tools.mrp"/>
   156 </component>
   135           </component>
   157 </collection>
   136         </collection>
   158 <collection name="cryptoservices" long-name="Crypto Services" level="plugins">
   137         <collection name="cryptoplugins" long-name="Crypto Plugins" level="plugins">
   159 <component name="certificateandkeymgmt" long-name="Certificate and Key Management" introduced="6.0" purpose="optional">
   138           <component name="cryptospiplugins" long-name="Crypto SPI Plugins" filter="gt" introduced="^3" purpose="optional" plugin="Y">
   160 <unit bldFile="/sf/os/security/cryptoservices/certificateandkeymgmt/group" mrp="/sf/os/security/cryptoservices/certificateandkeymgmt/group/security_certman.mrp"/>
   139             <unit bldFile="/sf/os/security/cryptoplugins/cryptospiplugins/group" mrp="/sf/os/security/cryptoplugins/cryptospiplugins/group/security_cryptospi_plugins.mrp"/>
   161 </component>
   140           </component>
   162 <component name="filebasedcertificateandkeystores" long-name="File-based Certificate and Key Stores" introduced="8.0" purpose="optional">
   141         </collection>
   163 <unit bldFile="/sf/os/security/cryptoservices/filebasedcertificateandkeystores/group" mrp="/sf/os/security/cryptoservices/filebasedcertificateandkeystores/group/security_filetokens.mrp"/>
   142         <collection name="cryptoservices" long-name="Crypto Services" level="plugins">
   164 </component>
   143           <component name="certificateandkeymgmt" long-name="Certificate and Key Management" introduced="6.0" purpose="optional">
   165 <component name="asnpkcs" long-name="ASN PKCS" introduced="8.0" purpose="optional">
   144             <unit bldFile="/sf/os/security/cryptoservices/certificateandkeymgmt/group" mrp="/sf/os/security/cryptoservices/certificateandkeymgmt/group/security_certman.mrp"/>
   166 <unit bldFile="/sf/os/security/cryptoservices/asnpkcs/group" mrp="/sf/os/security/cryptoservices/asnpkcs/group/security_asnpkcs.mrp"/>
   145           </component>
   167 </component>
   146           <component name="filebasedcertificateandkeystores" long-name="File-based Certificate and Key Stores" introduced="8.0" purpose="optional">
   168 </collection>
   147             <unit bldFile="/sf/os/security/cryptoservices/filebasedcertificateandkeystores/group" mrp="/sf/os/security/cryptoservices/filebasedcertificateandkeystores/group/security_filetokens.mrp"/>
   169 <collection name="authenticationservices" long-name="Authentication Services" level="utilities">
   148           </component>
   170 </collection>
   149           <component name="Browser Root Certificates" introduced="^2" purpose="optional" filter="s60">
   171 <collection name="security_info" long-name="OS Security Info" level="utilities">
   150             <!-- not really s60 -->
   172 <component name="security_metadata" long-name="OS Security Metadata" introduced="tb91" purpose="development" class="config PC">
   151             <unit mrp="/sf/os/security/cryptoservices/browserrootcertificates/browserrootcerts.mrp"/>
   173 <unit mrp="/sf/os/security/security_info/security_metadata/security_metadata.mrp"/>
   152           </component>
   174 </component>
   153           <component name="asnpkcs" long-name="ASN PKCS" introduced="8.0" purpose="optional">
   175 </collection>
   154             <unit bldFile="/sf/os/security/cryptoservices/asnpkcs/group" mrp="/sf/os/security/cryptoservices/asnpkcs/group/security_asnpkcs.mrp"/>
   176 </block>
   155           </component>
   177 </layer>
   156         </collection>
   178 </systemModel>
   157         <collection name="security_info" long-name="OS Security Info" level="utilities">
       
   158           <component name="security_metadata" long-name="OS Security Metadata" introduced="^2" purpose="development" class="config PC">
       
   159             <unit mrp="/sf/os/security/security_info/security_metadata/security_metadata.mrp"/>
       
   160           </component>
       
   161         </collection>
       
   162       </block>
       
   163     </layer>
       
   164   </systemModel>
   179 </SystemDefinition>
   165 </SystemDefinition>