Share via


Renewing a Certificate Example

4/8/2010

This example shows how a certificate on a device can be renewed.

Code Example

<characteristic type="CertificateEnroller">
   <characteristic type="Operation">
      <characteristic type="RenewOperation">
         <characteristic type="{GUID}">
            <parm name="RenewCertificateHash" value={Hash of the certificate to be renewed} datatype="binary"/>
         </characteristic>
      </characteristic>
   </characteristic>
</characteristic>

Remarks

The certificate hash should be the hex-encoded blob specifying the SHA-1 hash of the certificate to be renewed.

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

Querying for Certificates to be Renewed Example

Concepts

CertificateEnroller Configuration Service Provider

Other Resources

CertificateEnroller Configuration Service Provider Examples for OMA Client Provisioning