Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending public key through socket

Status
Not open for further replies.

kmm64

Technical User
May 4, 2004
8
US
Hi, I'm trying to create a simple client server program that allows the client to request a file from the server and the server then encrypts the file and sends it along with its public key and the signature created using RSACryptoServiceProvider through the socket connection. But I can't seem to figure out how to export the public parameters to the client so that the file can be decrypted and verified on that side.

I know how to encrypt the file and create the signature but how exactly would you send the public key through the socket.

Any ideas would be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top