Patent ID: 8190875

Claim:
A method comprising: receiving, in a proxy device, a pre-master key from a first device; receiving, by the proxy device, a first message with a second device random value from a second device; sending, by the proxy device, the second device random value to the first device, wherein the first device is configured to generate, using the second device random value along with the pre-master key, a function and a first device random value, a first session key for securing communications between the first device and the proxy device; receiving, by the proxy device, a second message from the first device including the pre-master key and the first device random value; determining, in the proxy device, the first session key, wherein the first session key is generated by the proxy device using the pre-master key and the first device random value received from the first device, the second device random value received from the second device and the function that is used by the first device; sending, by the proxy device, the pre-master key and the first device random value to the second device, wherein the second device is configured to generate a second session key using the second device random value along with the pre-master key, the first device random value and the function that is used by the first device and the proxy device, such that the second session key is same as the first session key, and wherein the second session key is configured for securing communications between the second device and the proxy device; receiving, by the proxy device, encrypted data from the first device directed toward the second device, wherein the encrypted data is encrypted using the first session key; forwarding, by the proxy device, the encrypted data to the second device without performing any modification to the encrypted data based on decrypting using the first session key and re-encrypting using the second session key such that the encrypted data is decrypted by the second device using the second session key.