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