Re: Cryptography - key signing

From: Daniel Leisen (sukitamrofni@hotmail.com)
Date: 11/20/02


From: "Daniel Leisen" <sukitamrofni@hotmail.com>
Date: Wed, 20 Nov 2002 21:17:59 +0100

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