|
-
Feb 12th, 2013, 12:47 PM
#5
Thread Starter
Frenzied Member
Re: How do I use CAPICOM to CREATE a certificate?
 Originally Posted by dilettante
I can't find a simple cookbook description of the process or a simple code example and I don't have one to offer myself. This is probably going to require some research.
A few additional articles may help point to an answer:
The Cryptography API, or How to Keep a Secret
Extending .NET Cryptography with CAPICOM and P/Invoke - for .Net, but has useful CAPICOM info.
But all of the articles online seem to point you to the Windows SDK documentation for more details and specifics.
If you work out a functional example of the process I'm sure people would be interested in seeing it posted to the CodeBank area here.
Ok, I figured how to make Makecert.exe spit out a private key along with the public key (the Certificate). So now I have 2 files, a private key and a certificate.
Now I know how to load the certificate into CAPICOM in VB6, and have already used it to encrypt some text. But now I need to know the procedure for loading the private key into CAPICOM in VB6 in order decrypt the message. Do you know of any code samples for VB6 that show's how to use CAPICOM in this way (or any other demo's of CAPICOM that have been written in VB6 that I could study to see how to use it)?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|