Querying Certificates Output Example for OMA DM
4/8/2010
This example shows the output from querying the MY certificate store.
Code Example
<Status>
<CmdID>1</CmdID>
<MsgRef>1</MsgRef>
<CmdRef>0</CmdRef>
<Cmd>SyncHdr</Cmd>
<Data>200</Data>
</Status>
<Status>
<CmdID>2</CmdID>
<MsgRef>1</MsgRef>
<CmdRef>1</CmdRef>
<Cmd>Get</Cmd>
<Data>200</Data>
</Status>
<Results>
<CmdID>3</CmdID>
<MsgRef>1</MsgRef>
<CmdRef>1</CmdRef>
<Item>
<Source>
<LocURI>./Vendor/MSFT/CertificateStore/MY/{hash of the certificate}</LocURI>
</Source>
<Meta>
<Format xmlns="syncml:metinf">node</Format>
</Meta>
</Item>
<Item>
<Source>
<LocURI>./Vendor/MSFT/CertificateStore/MY/{hash of the certificate}/EncodedCertificate</LocURI>
</Source>
<Meta>
<Format xmlns="syncml:metinf">b64</Format>
</Meta>
<Data>{encoded certificate}</Data>
</Item>
<Item>
<Source>
<LocURI>./Vendor/MSFT/CertificateStore/MY/{hash of the certificate}/ValidFrom</LocURI>
</Source>
<Data>2002-06-05T06:49:47Z</Data>
</Item>
<Item>
<Source>
<LocURI>./Vendor/MSFT/CertificateStore/MY/{hash of the certificate}/ValidTo</LocURI>
</Source>
<Data>2039-12-31T23:59:59Z</Data>
</Item>
<Item>
<Source>
<LocURI>./Vendor/MSFT/CertificateStore/MY/{hash of the certificate}/IssuedBy</LocURI>
</Source>
<Data>Root Agency</Data>
</Item>
<Item>
<Source>
<LocURI>./Vendor/MSFT/CertificateStore/MY/{hash of the certificate}/IssuedTo</LocURI>
</Source>
<Data>MY Store</Data>
</Item>
</Results>
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 SyncBody node in an OMA DM provisioning file. For more information about the syntax of the provisioning file, see OMA DM Provisioning Files.
See Also
Other Resources
CertificateStore Configuration Service Provider Examples for OMA DM