Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17



Posted on 1999-07-22
Medium Priority
Last Modified: 2013-11-20
How can I write my own CSP in Visual C++?
Question by:motorway
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 1311078
What is CSP?

Would you be willing to use a predefined SDK for your cryptography?  If so, check out

Expert Comment

ID: 1311079
CSP: Crypt Service Provider

Accepted Solution

cwrea earned 150 total points
ID: 1311080
First, get access to MSDN Library somehow.  You can pay for a CD subscription, or go for free to MSDN Online -- it doesn't matter.

Next, look in the Library under "Platform SDK", then under "Security", then under "Cryptographic Service Providers"... then under "About Cryptographic Service Providers"... Therein, you'll find the information you require, including a page called "Writing a CSP" which contains exactly what you are asking.  Basically, a CSP is a regular DLL, except there is a defined interface you have to implement.  (That is, your DLL must export functions with specific names and signatures.)

Enjoy.  P.S. this was more appropriately a Windows programming issue, rather than an MFC programming issue.


Author Comment

ID: 1311081
Thank you. I'll be careful next time while choosing the issue.

P.S. CSP information comes under Windows Base Services and not under Security.


Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question