Share via


Adding Certificates to the Privileged, Unprivileged, and SPC Stores Example

This example shows how to add certificates to the privileged and, unprivileged stores, and how to add a certificate with its corresponding role mask to the SPC store.

<wap-provisioningdoc> 
   <characteristic type="CertificateStore"> 
      <characteristic type="Privileged Execution Trust Authorities"> 
         <characteristic type="657141E12FA45786F6A57CA6464032D4B3A55475"> 
            <parm name="EncodedCertificate" value=" 
            MIICFzCCAYCgAwIBAgIQck75z+hpXqlPaA3DFRbUKjANBgkqhkiG9w0BAQQFA
            DAfMR0wGwYDVQQDExRUZXN0IHByaXZpbGVnZWQgY2VydDAeFw0wMjAzMjUwOT
            Q3MTdaFw0zOTEyMzEyMzU5NTlaMB8xHTAbBgNVBAMTFFRlc3QgcHJpdmlsZWd
            lZCBjZXJ0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDBfTn6YnOWrrgV
            hu7pf8yN6UqXH0mykxIuvrYLyzv2R2FWZwh//dkJwL/wHuzfmxKV+lym1NY3R
            DLGwfQsP31fHLC7xGOrQ0uBHuGXUkmsqvS9F1sPDGwxEzIICqDk5Lt0lpY9wu
            Z7dRhommcDQMW7wTaTvsbtj45S3mtggx6JLQIDAQABo1QwUjBQBgNVHQEESTB
            HgBBQBE60K6wxNJ3AOeAC/sgIoSEwHzEdMBsGA1UEAxMUVGVzdCBwcml2aWxl
            Z2VkIGNlcnSCEHJO+c/oaV6pT2gNwxUW1CowDQYJKoZIhvcNAQEEBQADgYEAQ
            3vl70ckmjoBdl7v6s2lohnDho1gl3KfLdEuFiNrFrLNj3imytkpz8hQt5m/7h
            jxZTtZaKGmkeGQGM/ZpH1t8XnqlbQKQfAn0iyTpKynWtZJdwU0yOnpgFkIORJ
            kfsYf0zoSC2uBke75Un22COB4igFnlC84f/NGF+uynVN1oSs="/> 
         </characteristic> 
      </characteristic> 
      <characteristic type="Unprivileged Execution Trust Authorities"> 
         <characteristic type="B53F4D06A425FE29974C2664FB03659E97439E65"> 
            <parm name="EncodedCertificate" value=" 
            MIICHTCCAYagAwIBAgIQP+7uqRvuY6lIfE9ZjtOYlzANBgkqhkiG9w0BAQQFA
            DAhMR8wHQYDVQQDExZUZXN0IHVucHJpdmlsZWdlZCBjZXJ0MB4XDTAyMDMyNT
            A5NDY1MVoXDTM5MTIzMTIzNTk1OVowITEfMB0GA1UEAxMWVGVzdCB1bnByaXZ
            pbGVnZWQgY2VydDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA1Vk+TEUf
            tpe77G5KykHmV/do+gclweayVNbfg5qlddTJ1MLRAxXfapmuXJigjlq0ljY6l
            3NR0CzsDwbnFUqtV6nUSmWO6OJsQxf1M3+iP0Y4XFP8R92l18POFvgqoG73LW
            wjHxFnAdxRe6Vhqk+dKlkFjoZ5hsVpkBGYXwp1QIMCAwEAAaNWMFQwUgYDVR0
            BBEswSYAQUqyDMy4bvZOIbDnekQbNWqEjMCExHzAdBgNVBAMTFlRlc3QgdW5w
            cml2aWxlZ2VkIGNlcnSCED/u7qkb7mOpSHxPWY7TmJcwDQYJKoZIhvcNAQEEB
            QADgYEAEPIHfVCNqhghpeP1KKCP5NKHLa2EjXpkB1rZzkS84DX4zwxGq4EsE6
            ap4ynUcFCE0H/Girl+fNURdQicxnjsfVrFh/NiQHhAx2HtE0OkTvuWx/24nS+
            UgByCXZeyxb0GBxB3J77/8wnOsUsAyVd0nkCk5KZLMLelOOVgU1TXitw="/> 
         </characteristic> 
      </characteristic> 
      <characteristic type="SPC" > 
         <characteristic type="B9A628B5C51A203763AAE5924827F395D13AE66D"> 
            <parm name="EncodedCertificate" value=" 
            MIICAjCCAWugAwIBAgIQFyPZp0weM7JOupnsmV9AGDANBgkqhkiG9w0BAQQFA
            DAYMRYwFAYDVQQDEw1UZXN0IFNQQyBjZXJ0MB4XDTAyMDMyNTA5NDczNFoXDT
            M5MTIzMTIzNTk1OVowGDEWMBQGA1UEAxMNVGVzdCBTUEMgY2VydDCBnzANBgk
            qhkiG9w0BAQEFAAOBjQAwgYkCgYEAlRLDbJO11IV3ZY4vbxqDPOAXV/RGH6Mw
            i3SHB8RSW9BPT6Ilc0p4wl+xhBsGvedB0jrNmF7Td/Zi8UwdlpNcGs2aReA6f
            8I2oaIscAqS2If6WlnIeCnj5braAvfwyf3JzPbvySVRLPVW340uyhNi/hePyC
            G8Y/jNdw80rn3wBWcCAwEAAaNNMEswSQYDVR0BBEIwQIAQOMYNIBHNuIF5Oif
            pWgQWeqEaMBgxFjAUBgNVBAMTDVRlc3QgU1BDIGNlcnSCEBcj2adMHjOyTrqZ
            7JlfQBgwDQYJKoZIhvcNAQEEBQADgYEAV06JMzEebb2vwmaKc2v+RFM9DVbkX
            aWiINU31K2nVJU7kG9MF1AzykJXvDJj1jcJ61tzDz6HZBFYIoK/eyXTetm8nE
            IUGoeN5/jlM8xcKFftpqgncjskQ2QpPZRrdyRf6GIuDoGbG9ZUnsU+vRTDvDN
            9p7IF14AGcsiE/9XV66A="/>
            <parm name="Role" value="63"/> 
         </characteristic> 
      </characteristic> 
   </characteristic> 
</wap-provisioningdoc>

See Also

CertificateStore Configuration Service Provider Examples | CertificateStore Configuration Service Provider

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.