<?xml version="1.0" encoding="ISO-8859-1"?> 
  <customization>
    <registry>
      <anti-virus>        
        <file-operations>
          <!-- Do the following only at first upstart -->
          <first-upstart parse-mask="f">
            <file-op op="copy" source="/tpa/preset/system/security/av/default/fsavose.dat" dest="/tpa/preset/system/security/av/scanner/fsavose.dat"/>
          </first-upstart>
          <!-- Do the following only at Master reset -->
          <master-reset-all parse-mask="sa">
            <file-op op="purgedir" dest="/tpa/preset/system/security/av/scanner"/>
            <file-op op="purgedir" dest="/tpa/preset/system/security/av/update"/>
            <file-op op="copy" source="/tpa/preset/system/security/av/default/fsavose.dat" dest="/tpa/preset/system/security/av/scanner/fsavose.dat"/>
          </master-reset-all>
        </file-operations>
        
        <settings reg-path="/apps/anti-virus">

          <!--  Key: version   -->
          <!--  The version of the keys located under /apps/anti-virus  -->
          <!--  Public: No -->
          <version type="str">1.0</version>          
          
          <!--  Key: active -->
          <!--  This parameter is set to false to disable anti virus, i.e. the user will not see a trace of it. -->
          <!--  Public: Yes -->
          <active type="bool">true</active>
          
          <!--  Setting for the data connection-->
          <connection>

            <!--  Key: server-name -->
            <!--  The address to the anti virus backend server.-->
            <!--  Public: Yes -->
            <server-name type="wstr">msp2.f-secure.com</server-name>

            <!--  Key: server-port -->
            <!--  The port to the anti virus backend server.-->
            <!--  Public: Yes -->
            <server-port type="wstr">443</server-port>

            <!--  Key: data-account -->
            <!--  The name of the data account or an empty string to use the default (browser) data account-->
            <!--  Public: Yes -->
            <data-account type="str">""</data-account>

            <!--  Key: append-imsi -->
            <!--  true will send IMSI to anti virus backend during subscription and update. -->
            <!--  Public: Yes -->
            <append-imsi type="bool">false</append-imsi>

            <!--  Key: allow-network -->
            <!--  true will allow scheduled update from any network.-->
            <!--  Public: No -->
            <allow-network type="bool">false</allow-network>

          </connection>

          <!--  Settings for subscription"-->
          <subscription>

            <!--  Key: sid -->
            <!--  Contract key before the user has subscribed. The value will be replaced with user key after subscription. -->
            <!--  Public: Yes -->
            <sid type="str">B5HL51BRPRU3</sid>

            <!--  Key: e-store-url -->
            <!--  The E-store URI is received from anti virus backend during subscription. -->
            <!--  Public: No -->
            <e-store-url type="wstr">https://f-secure-mobile.asknet.com/cgi-bin/addcart?</e-store-url>

            <!--  Key: terms-url -->
            <!--  URL to license terms-->
            <!--  Public: Yes -->
            <terms-url type="wstr">http://mobile.f-secure.com/license/07/</terms-url>

            <!--  Key: subscription-state -->
            <!--  The subscription state is received from anti virus backend during subscription.-->
            <!--  Public: No -->
            <subscription-state type="uint">0</subscription-state>

            <!--  Key: subscription-first -->
            <!--  This parameter is true for a new device and is set to false after the first successful subscription-->
            <!--  Public: No -->
            <subscription-first type="bool">true</subscription-first>

            <!--  Key: expiration-date -->
            <!--  The expiration date is received from anti virus backend during subscription (YYYY MM DD hh mm ss, e.g. 2008 03 31 01 02 03).-->
            <!--  Public: No -->
            <expiration-date type="str">""</expiration-date>

            <!--  Settings for the subscription warning"-->
            <warning>
              
              <!--  Key: first-warning -->
              <!--  The first warning will be shown first-warning number of days before the subscription expires.-->
              <!--  Public: Yes -->
              <first-warning type="uint">7</first-warning>

              <!--  Key: number-of-warnings -->
              <!--  Number of warnings.-->
              <!--  Public:  Yes-->
              <number-of-warnings type="uint">3</number-of-warnings>

              <!--  Key: warning-interval -->
              <!--  Warning interval in days.-->
              <!--  Public: Yes -->
              <warning-interval type="uint">2</warning-interval>

              <!--  Key: number-of-shown-warnings -->
              <!--  Private parameter to keep track of number of shown warnings.-->
              <!--  Public: No -->
              <number-of-shown-warnings type="uint">0</number-of-shown-warnings>
              
            </warning>
          </subscription>

          <!--  Settings for signatures"-->
          <signatures>
            
            <!--  Key: database-version -->
            <!--  Version of the signature database in use. -->
            <!--  Public: No -->
            <database-version type="uint">0</database-version>

            <!--  Settings for scheduled update of the signatures"-->
            <timer>

              <!--  Key: update-interval -->
              <!--  The scheduled update interval. Valid values are "never", "daily", "weekly" or "monthly".-->
              <!--  Public: Yes -->
              <update-interval type="str">never</update-interval>

              <!--  Key: locked -->
              <!--  This parameter is set to true to prevent the user from changing the update settings.-->
              <!--  Public: Yes -->
              <locked type="bool">false</locked>

              <!--  Key: offset-range-start -->
              <!--  The update will be triggered at 00:00:00 + OFFSET. OFFSET is a random offset in the range offset-range-start to offset-range-end (hours).-->
              <!--  Public: Yes -->
              <offset-range-start type="uint">0</offset-range-start>


              <!--  Key: offset-range-end -->
              <!--  The update will be triggered at 00:00:00 + OFFSET. OFFSET is a random offset in the range offset-range-start to offset-range-end (hours).-->
              <!--  Public: Yes -->
              <offset-range-end type="uint">12</offset-range-end>

              <!--  Key: last-update-date -->
              <!--  The date of last update (YYYY MM DD hh mm ss, e.g. 2008 03 31 01 02 03).-->
              <!--  Public: No -->
              <last-update-date type="str">""</last-update-date>

              <!--  Key: last-update-state -->
              <!--  The state received from anti virus backend during last update.-->
              <!--  Public: No -->
              <last-update-state type="uint">0</last-update-state>
            </timer>
            
            <!--  Settings for update warning-->
            <warning>  

              <!--  Key: first-warning -->
              <!--  Number of days between last update and the first warning.-->
              <!--  Public: Yes -->
              <first-warning type="uint">10</first-warning>

              <!--  Key: number-of-warnings -->
              <!--  Number of warnings.-->
              <!--  Public: Yes -->
              <number-of-warnings type="uint">3</number-of-warnings>

              <!--  Key: warning-interval -->
              <!--  Warning interval in days.-->
              <!--  Public: Yes -->
              <warning-interval type="uint">2</warning-interval>

              <!--  Key: number-of-shown-warnings -->
              <!--  Private parameter to keep track on number of shown warnings.-->
              <!--  Public: No -->
              <number-of-shown-warnings type="uint">0</number-of-shown-warnings>
              
            </warning>
          </signatures>

          <!--  Settings for automatic scan.-->
          <automatic-scan>
            <!--  Key: active -->
            <!--  true will activate automatic scanning.-->
            <!--  Public: No -->
            <active type="bool">true</active>

            <!--  Key: max-time -->
            <!--  Maximum scanning time in ms. The scan will be aborted when this time has passed and the file will be treated as clean.-->
            <!--  Public: No -->
            <max-time type="uint">10000</max-time>
            
          </automatic-scan>
          
          <!--  Settings for on demand scan.-->
          <on-demand-scan>  

            <!--  Key: max-time -->
            <!--  Maximum scanning time in ms. The scan will be aborted when this time has passed and the file will be treated as clean.-->
            <!--  Public: No -->
            <max-time type="uint">10000</max-time>

          </on-demand-scan>
        </settings>
      </anti-virus>
    </registry> 
  </customization>
