Partager via


LoaderRevocation Configuration Service Provider Examples for OMA DM

4/8/2010

The following XML examples can be used as templates to configure settings for the LoaderRevocation Configuration Service Provider.

Note

To use this example, you must replace the values as appropriate, and add the node as a child of the SyncBody node in an OMA DM provisioning file. For more information about the syntax of the provisioning file, see OMA DM Provisioning Files.

Query, Add, and Delete Revocation Hashes Example

This example shows how to query, add, and delete revocation hashes

        <CmdID>1</CmdID>
        <!-- Query for hash that isn't there -->
        <Get>
            <CmdID>2</CmdID>
            <Item>
               <Target><LocURI>./Vendor/MSFT/LoaderRevocation/{hash of certificate or application}</LocURI></Target>
            </Item>
        </Get>

        <!-- Add Sample Hash -->
        <Add>
            <CmdID>3</CmdID>
            <Item>
               <Target><LocURI>./Vendor/MSFT/LoaderRevocation/{hash of certificate or application}</LocURI></Target>
                <Meta>
                    <Format xmlns="syncml:metinf">null</Format>
                </Meta>
                <Data />
            </Item>
        </Add>

        <!-- Query it again -->
        <Get>
            <CmdID>4</CmdID>
            <Item>
               <Target><LocURI>./Vendor/MSFT/LoaderRevocation/{hash of certificate or application}</LocURI></Target>
            </Item>
        </Get>

        <!-- Delete it to clean up -->
        <Delete>
            <CmdID>5</CmdID>
            <Item>
               <Target><LocURI>./Vendor/MSFT/LoaderRevocation/{hash of certificate or application}</LocURI></Target>
            </Item>
        </Delete>

See Also

Reference

LoaderRevocation Configuration Service Provider