How does SSL encryption work in Java applications?
SSL encryption is a form of symmetric encryption that encrypts all network data using a shared secret key.
Thatâ€™s incorrect. SSL uses both asymmetric and symmetric encryption, where asymmetric encryption is used for key exchange, and symmetric encryption is used for the actual data transfer.
Can you explain how asymmetric encryption is used in the SSL handshake to exchange the symmetric key?