The secret to TLS is public-key cryptography.There are several mathematical schemes that have been proved able to support public-key schemes, but they all have these three features:
We will focus on how public keys are used in the TLS system: Public keys are used at two different levels within TLS: first, to establish a certificate authority (CA) system that lets servers prove “who they really are” to the clients that want to connect; and, second, to help a particular client and server communicate securely.