Writing a CSP
This section outlines the steps used to write, test, and implement a custom CSP.
Before writing a CSP, a writer must accomplish two tasks:
- Select the cryptographic algorithms and data formats to be included.
- Obtain implementations for each algorithm and data format.
Once these tasks have been accomplished, a custom CSP can be created. The creation procedure is as follows:
- Creating the CSP DLL that exposes the CryptoSPI functions.
- Writing the CSP setup program that creates the appropriate registry entries.
- Test signing the CSP.
- Testing the CSP.
- Getting the CSP signed to enable the CSP to be used with the released versions of Microsoft® Windows® 2000, Microsoft® Windows NT®, or Windows 95 and later.
- Test the officially signed CSP. This is the same as step 4, except that the official signature and the release version of Windows are used.