Re: Certificate store: How en-/decryption with certificate private/public key?

From: Sitaraman (Sitaraman@)
Date: 11/04/02


From: "Sitaraman" <Sitaraman@>
Date: Mon, 4 Nov 2002 10:57:23 -0500


This is a good one to sign using X509 & XML Signature.
The verify program doent work and throwing an exception that
CertGetKey.dll is not found. Any thoughts on where i can get this from??

Thanks

Ram

"Michel Gallant (MVP)" <neutron@istar.ca> wrote in message
news:3DC0080E.525C116D@istar.ca...
> The best/easiest solution now is to use CAPICOM 2 functionality:
> http://www.microsoft.com/downloads/release.asp?ReleaseID=44155
> (unless you have very unusual requirements, in which case you may
> need to use capi directly).
>
> There are excellent samples in the CAPICOM 2 download for:
> asp, c#, C++, html, vb, vbs
>
> The CAPICOM 2 install is rather small :-) and is supported on
> Win98 - XP (and also the 2.0.0.1 version seems to work in most
> cases on Win95).
>
> - Michel Gallant
> MVP Security
> http://home.istar.ca/~neutron
>
>
> MSDN Newsgroups wrote:
>
> > Hello,
> >
> > I want to use the key pair of a stored X509Certificate to encrypt and
> > decrypt data.
> > I haven't found a solution for a few problems I have:
> >
> > Is there a way to generate a X509Certificate of a keypair in a self
written
> > program with the windows api?
> > How can I get the private key/public key belonging to a X509 certifcate
> > (stored in the windows certificate store) and decrypt/encrypt some data
with
> > it?
> >
> > Examples will be nice!
> > I prever a solution with .NET Framework or COM (capicom.dll), but
C/C++-Code
> > will also fine.
> >
> > Bye
> > Andreas Siglreithmayr
>



Relevant Pages