In file ../../src/Pegasus/Common/SSLContext.h:
This class provides information that is used during the SSL verification callback. DocumentationThis class provides information that is used during the SSL verification callback. We pass a pointer to this object to the SSL_set_ex_data function. We can then use SSL_get_ex_data from within the callback and cast the void* back to this object. In this case, we store a pointer to the Pegasus-defined callback function set in the SSLContext. We also store a pointer to a certificate object which we construct during the callback. Some of the certificate information is inaccessible outside the callback, so we need to retrieve the data within the function. Each SSL connection object will have the same callback function, but each connection will have its own certificate. Therefore, this class is constructed on a per-connection basis in SSLSocket. Inheritance:
Alphabetic index HTML hierarchy of classes or Java |