CertificateStore Configuration Service Provider
The CertificateStore Configuration Service Provider allows you to add security certificates and role masks to the device's certificate store.
Note Access to this Configuration Service Provider is determined by Security roles. Because OEMs and Mobile Operators can selectively disallow access, ask them about the availability of this Configuration Service Provider. For more information, see Security Roles.
To add or update the security roles for a specific certificate, in the provisioning XML, you must provide the Role parm and must provide the encoded certificate that is set by the EncodedCertificate parm.
Note The CertificateStore Configuration Service Provider supports only SHA1 hashes in all of its operations. MD5 hashes are not supported.
The default metabase settings for the CertificateStore Configuration Service Provider are as follows:
Unprivileged Execution Trust Authorities\*
Certificate store: Applications signed with a certificate belonging to this store will run with unprivileged trust level. This setting is a string that has read/write permissions. The Manager role is allowed to query and update this setting.
Note This setting is available only for Smartphone.
Privileged Execution Trust Authorities\*
Certificate store: Applications signed with a certificate belonging to this store will run with privileged trust level. This setting is a string that has read write permissions. The Manager role is allowed to query and update this setting.
For CertificateStore Configuration Service Provider examples, see CertificateStore Configuration Service Provider Examples.
Characteristics
*/<certificate hash>
A second-level characteristic that specifies the SHA1 hash for the certificate. The 20-byte SHA1 hash of the certificate is specified in hexadecimal.CA
A certificate store that contains cryptographic information, including intermediary certification authorities.The following table shows the default settings
Permissions Read/Write Data type String Roles allowed to query and update setting Manager MY
A certificate store that contains end-user personal certificates.The following table shows the default settings
Permissions Read/Write Data type String Roles allowed to query and update setting Manager Privileged Execution Trust Authorities
A certificate store that contains binaries (.exe files and .dll files) that are signed by a certificate and run as privileged. The role mask does not matter for this store.ROOT
A certificate store that contains root, or self-signed, certificates.The following table shows the default settings
Permissions Read/Write Data type String Roles allowed to query and update setting Manager SPC
The Software Publishing Certificate (SPC) is used for signing .cab files and assigning the correct role mask to the .cab file installation.The following table shows the default settings
Permissions Read/Write Data type String Roles allowed to query and update setting Manager Unprivileged Execution Trust Authorities
A certificate store that contains binaries signed by a certificate and run as unprivileged. The role mask does not matter for this store.
Parms
EncodedCertificate.
This parm is used in all CertificateStore characteristics to specify a Base64 Encoded X.509 certificate.IssuedBy
This read-only parm shows the name of the certificate issuer. This information is the Issuer member in the CERT_INFO structure.The following table shows the default settings.
Permissions Read-only Data type String Roles allowed to query and update setting Manager AuthenticatedUser
IssuedTo
This read-only parm shows the name of the certificate subject. This information is the Subject member in the CERT_INFO structure.The following table shows the default settings.
Permissions Read-only Data type String Roles allowed to query and update setting Manager AuthenticatedUser
Role
This parm is used in all CertificateStore characteristics to specify a four-byte bit mask that corresponds to the roles that can be assigned to the certificate. The role mask is only used for certificates in the SPC store. When no role parm is specified for certificates that are added to the store, the role mask defaults to 0.TemplateName
This read-only parm specifies the template name used to produce the certificate. This is a X.509 extension that is in szOID_ENROLL_CERTTYPE_EXTENSION.The following table shows the default settings.
Permissions Read-only Data type String Roles allowed to query and update setting Manager AuthenticatedUser
ValidFrom
This read-only parm shows the starting date of the certificate's validity. This information is in the NotBefore member in the CERT_INFO structure.The following table shows the default settings.
Permissions Read-only Data type String Roles allowed to query and update setting Manager AuthenticatedUser
ValidTo
This read-only parm shows the expiration date of the certificate. This information is in the NotAfter member in the CERT_INFO structure.The following table shows the default settings.
Permissions read-only Data type string Roles allowed to query and update setting Manager AuthenticatedUser
Elements
The following table shows the supported MSPROV DTD elements.
Element | Supported |
---|---|
parm-query | Yes |
noparm | No |
nocharacteristic | Root level and first level: No Second level: Yes |
characteristic-query | Root level: No First and second levels: Yes Recursive: No |
For information about specific elements, see MSPROV DTD Elements.
See Also
Configuration Service Provider Reference for Windows Mobile Devices| CertificateStore Configuration Service Provider Examples
Send feedback on this topic to the authors.
© 2005 Microsoft Corporation. All rights reserved.