I've successfully exchanged keys using DiffieHellman and now wanted to use those keys to encrypt the object I need to send across the wire using RSA encryption.
DiffieHellman gives me the actual key so:
Question #1
Is there a way to import the actual key directly into a RSACryptoServiceProvider variable?
It seems I can only find examples of importing XML based but those have extra info that I do NOT get from DiffieHellman (like for Public keys, the XML carries the Exponent value, and for Private key the XMLS carries P,Q,DP,DQ,Inverse ...which none of those are provided by the DiffieHellman)
Question #2
What would be the right way to combine the DiffieHellman private/public keys provided into an RSA based encryption call so that the calls encryption/decryption would work across the wire on both ends?