mod_servlet
C++Servlets
|
Class encapsulates availble information about current SSL session. More...
#include <ssl.h>
Public Member Functions | |
virtual | ~SSL_information () noexcept |
Destructor. | |
virtual string_view | protocol () const =0 |
The SSL protocol version (e.q. More... | |
virtual string_view | cipher_name () const =0 |
The cipher specification name (e.q. More... | |
virtual bool | is_cipher_export () const =0 |
Returns true if the cipher is an export cipher. More... | |
virtual int | cipher_used_bits () const =0 |
Returns number of bits used in the cipher. More... | |
virtual int | cipher_possible_bits () const =0 |
Returns number of bits which could possible be used in the cipher. More... | |
virtual string_view | compress_method () const =0 |
Returns SSL compression method negotiated. More... | |
virtual string_view | session_id () const =0 |
The hex-encoded SSL session id if any available. More... | |
virtual SSL_SESSION_STATE | session_state () const =0 |
Returns the state of the SSL session. More... | |
virtual const certificate & | client_certificate () const =0 |
Returns object containing available information for client certificate. More... | |
virtual const certificate & | server_certificate () const =0 |
Returns object containing available information for server certificate. More... | |
Class encapsulates availble information about current SSL session.
If the current request was not made using SSL channel than this object cannot be accessed from servlet.
Note that in order for this information to available in mod_servlet
Apache mod_ssl
should be configured to enable environment variables. For example:
SSLOptions +StdEnvVars +ExportCertData
For more information on configuration of Apache mod_ssl
see "Apache
Module mod_ssl" documentation
|
pure virtual |
The cipher specification name (e.q.
ECDHE-RSA-AES128-GCM-SHA256)
|
pure virtual |
Returns number of bits which could possible be used in the cipher.
|
pure virtual |
Returns number of bits used in the cipher.
|
pure virtual |
Returns object containing available information for client certificate.
|
pure virtual |
Returns SSL compression method negotiated.
|
pure virtual |
Returns true
if the cipher is an export cipher.
true
if the cipher is an export cipher
|
pure virtual |
The SSL protocol version (e.q.
SSLv3, TLSv1, TLSv1.1, TLSv1.2)
|
pure virtual |
Returns object containing available information for server certificate.
|
pure virtual |
The hex-encoded SSL session id if any available.
|
pure virtual |
Returns the state of the SSL session.
It can be eithee INITIAL
or RESUMED