Share via


Querying the Certificate Stores Output Example

4/8/2010

This example shows the output from querying the certificate stores. In this case, the Privileged, Unprivileged, and SPC stores each contain two certificates, whereas the MY and CA stores contain no certificates.

Code Example

<characteristic type="CertificateStore">
   <characteristic type="Privileged Execution Trust Authorities">
      <characteristic type="{hash of certificate}">
         <parm name="EncodedCertificate" value="{encoded hash of certificate}"/>
         <parm name="IssuedBy" value="Test Root Authority"/>
         <parm name="IssuedTo" value="Kim Abercrombie"/>
         <parm name="ValidFrom" value="1/1/2000 9:43:03AM"/>
         <parm name="ValidTo" value="1/1/2020 9:43:02AM"/>
         <parm name="TemplateName" value=""/>
      </characteristic>
      <characteristic type="{hash of certificate}">
         <parm name="EncodedCertificate" value="{encoded hash of certificate}"/>
         <parm name="Role" value="0"/>
         <parm name="IssuedBy" value="Test Root Authority"/>
         <parm name="IssuedTo" value="Hazem Abolrous"/>
         <parm name="ValidFrom" value="1/1/2000 9:43:03AM"/>
         <parm name="ValidTo" value="1/1/2020 9:43:02AM"/>
         <parm name="TemplateName" value=""/>
      </characteristic>
   </characteristic>
   <characteristic type="Unprivileged Execution Trust Authorities">
      <characteristic type="{hash of certificate}">
         <parm name="EncodedCertificate" value="{encoded hash of certificate}"/>
         <parm name="Role" value="16"/>
         <parm name="IssuedBy" value="Test Root Authority"/>
         <parm name="IssuedTo" value="Marco Tanara"/>
         <parm name="ValidFrom" value="1/1/2000 9:43:03AM"/>
         <parm name="ValidTo" value="1/1/2020 9:43:02AM"/>
         <parm name="TemplateName" value=""/>
      </characteristic>
      <characteristic type="{hash of certificate}">
         <parm name="EncodedCertificate" value="{encoded hash of certificate}"/>
         <parm name="Role" value="0"/>
         <parm name="IssuedBy" value="Test Root Authority"/>
         <parm name="IssuedTo" value="Jeff Low"/>
         <parm name="ValidFrom" value="1/1/2000 9:43:03AM"/>
         <parm name="ValidTo" value="1/1/2020 9:43:02AM"/>
         <parm name="TemplateName" value=""/>
      </characteristic>
   </characteristic>
   <characteristic type="SPC">
      <characteristic type="{hash of certificate}">
         <parm name="EncodedCertificate" value="{encoded hash of certificate}"/>
         <parm name="Role" value="222"/>
         <parm name="IssuedBy" value="Test Root Authority"/>
         <parm name="IssuedTo" value="Sam Abolrous"/>
         <parm name="ValidFrom" value="1/1/2000 9:43:03AM"/>
         <parm name="ValidTo" value="1/1/2020 9:43:02AM"/>
         <parm name="TemplateName" value=""/>
      </characteristic>
      <characteristic type="{hash of certificate}">
         <parm name="EncodedCertificate" value="{encoded hash of certificate}"/>
         <parm name="Role" value="222"/>
         <parm name="IssuedBy" value="Test Root Authority"/>
         <parm name="IssuedTo" value="Julian Price"/>
         <parm name="ValidFrom" value="1/1/2000 9:43:03AM"/>
         <parm name="ValidTo" value="1/1/2020 9:43:02AM"/>
         <parm name="TemplateName" value=""/>
      </characteristic>
   </characteristic>
   <characteristic type="MY"/>
   <characteristic type="CA"/>
</characteristic>

Remarks

One provisioning XML file typically contains configuration information for multiple Configuration Service Providers. To use this example, you must replace the values as appropriate, and add the node as a child of the OMA Client Provisioning file. For information about the syntax of this file, see OMA Client Provisioning Files. For examples, see OMA Client Provisioning XML File Examples.

See Also

Tasks

CertificateStore Configuration Service Provider Examples for OMA Client Provisioning

Reference

CertificateStore Configuration Service Provider