Re: client certificates and private keys.

Tech-Archive recommends: Fix windows errors by optimizing your registry



a client will NEVER send a private key.

If you get the cert from the client, they will encrypt with YOUR public key,
and you will decrypt with YOUR private key. When sending data to them, you
will encrypt with THEIR public key (in the cert), and they will decrypt with
THEIR private key.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
<duwayne@xxxxxxxxx> wrote in message
news:1123898462.731332.129030@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I will be writting a web application that will accept certificates from
> clients. What I really need is to get the private key from the client
> and decrypt some data and display it. Clients that do not have the
> private key will not encrypted data. Is this possible? Can someone
> point me to the right direction.
>
> Regards,
>
> DS
>


.



Relevant Pages

  • [OT] Re: Basic question about Public Private Key Pairs
    ... > and private keys allow me to decrypt, but vice versa is not possible (or ... a public key and a corresponding private key. ... You can encrypt something with each key; ...
    (microsoft.public.dotnet.security)
  • Re: Back Doors
    ... >> Design into the system a master key. ... Encrypt that with public key. ... Decrypt random symmetric key with private key. ...
    (sci.crypt)
  • Re: More on learning "Public Key Authentication"
    ... let me say that in public key ... >> encrypt the result with Alice's public key. ... >> is sent to Alice who decrypts the message with her private key (which ... > encrypted with my private key and they can then decrypt it with the ...
    (comp.sys.mac.system)
  • Re: RSACryptoServiceProvider decrypt with public key
    ... key/decrypt with the private key and encrypt with the private key/decrypt ... encrypt data and send it back to Alice. ... only she can decrypt Bob's data. ... see the public key and the encrypted data, but she could not decrypt Bob's ...
    (microsoft.public.dotnet.security)
  • In Search for the Proper Crypto System
    ... an asymetrical key cryptology. ... public/private key to encrypt only the symetric key used to encrypt the data ... the private key is eventually revealed. ... before A sends it to the first client, C1, and before any client sends it to ...
    (sci.crypt)