Re: Cryptography - key signing

From: David Cross [MS] (dcross@online.microsoft.com)
Date: 11/21/02


From: "David Cross [MS]" <dcross@online.microsoft.com>
Date: Thu, 21 Nov 2002 06:31:41 -0800

CAPICOM might be the easiest option for you. You can find some good
examples on the web and MSDN.

--
David B. Cross [MS]
--
This posting is provided "AS IS" with no warranties, and confers no rights.
http://support.microsoft.com
"Daniel Leisen" <sukitamrofni@hotmail.com> wrote in message
news:uP3s5HNkCHA.2216@tkmsftngp12...
> I see. But, how can I do it programmatically?
> I don't like to be a CA :-). I'd like to do the following:
> I've got two certificates A and B. Both have the public/private key pairs
> (A.public, A.private... so on)
> I'd like to create a new key from A.public and B.private. Encrypt some
data
> with it.
> After that create a key from A.private and B.public, and decrypt the
> encrypted data.
>
> I don't know too much about cryptography. So is it possible to do it? I
> think mathematically it should be.
> I'd like to use C# and the dotnet framework for the implementation, but
it's
> not a must.
>
> Thanks for any help.
>
> Daniel
>
> "Michel Gallant (MVP)" <neutron@istar.ca> wrote in message
> news:3DDBDCA9.13AAD35F@istar.ca...
> > That is exactly what CAs do when they issue user certificates. They
> > sign your public key with their private CA key (or a cross-certified CA
> > does it) and the signature is rolled into your official public
> certificate.
> >
> > You can do the equivalent with tools like MS makecert.exe.  It allows
you
> to specify,
> > when you generate a new certificate, who signs the newly generated
> > certificate. See examples of this for makecert at:
> >
>
http://msdn.microsoft.com/library/default.asp?url=/workshop/security/authcod
> e/signing.asp
> >
> >  - Michel Gallant
> >    MVP Security
> >    http://pages.istar.ca/~neutron
> >
> >
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.406 / Virus Database: 229 - Release Date: 2002. 10. 21.
>
>


Relevant Pages