During the SSL handshake phase, both parties negotiate a secure keying material that will be used to encrypt the connection by:
A.
Using a preshared key or so-called “secret,” that is shared up-front between both parties. It is hard-coded in both parties and is called pre_master_secret
B.
Executing a Diffie-Hellman exchange to generate a secret key called pre_master_secret
C.
The client sending a pre_master_secret which is encrypted with the server’s public RSA key
D.
The server sending a pre_master_secret which is encrypted with the server’s private RSA key
E.
Either executing a Diffie-Hellman exchange to generate a secret key or the client sending a pre_master_secret encrypted with the
server’s public key