L-TLS-APPLICATION">IMPORTANT OBJECTS FOR AN OPENSSL TLS APPLICATION</h1>

<p>A TLS connection is represented by the <b>SSL</b> object in an OpenSSL based application. Once a connection with a remote peer has been established an endpoint can &quot;write&quot; data to the <b>SSL</b> object to send data to the peer, or &quot;read&quot; data from it to receive data from the server.</p>

<p>A new <b>SSL</b> object is created from an <b>SSL_CTX</b> object. Think of an <b>SSL_CTX</b> as a &quot;factory&quot; for c