Registering the CSP (Windows Embedded CE 6.0)

1/6/2010

The following registry entries register the cryptographic service provider (CSP) with the operating system (OS).

[HKEY_LOCAL_MACHINE\Comm\Security\Crypto\Defaults\Provider\CSP name]
    Image Path = REG_SZ: CSP DLL name
    Signature = REG_BINARY: digital signature
    Type = REG_DWORD: CSP Type

The CSP name entry must be the textual name of the CSP. If Microsoft has signed the CSP, this name must exactly match the CSP name that was specified in the Export Compliance Certificate (ECC).

The CSP DLL name entry must be set to the name of the CSP DLL. A fully qualified path, such as \Windows\Rsabase.dll, can also be specified here. `

The digital signature entry is an optional field that is only needed if the signature is not embedded in the CSP DLL as a resource. It must contain a digital signature for the CSP DLL. This signature can be obtained from Microsoft.

The CSP type entry is a DWORD value that corresponds to the CSP provider type.

Note

The preferred way to provide for a digital signature is to include the digital signature entry in the CSP DLL as a resource. For more information, see Embedding the Digital Signature as a Resource.

The following example shows how to register a service provider with the OS.

[HKEY_LOCAL_MACHINE\Comm\Security\Crypto\Defaults\Provider\Microsoft Base Cryptographic Provider v1.0]
    Image Path = REG_SZ:rsabase.dll
    Signature = REG_BINARY:digital signature
    Type = REG_DWORD:0x1

See Also

Concepts

About Cryptographic Service Provider
Cryptography Registry Settings
Microsoft Cryptographic System

Other Resources

Cryptography
Certificates