In file ../../src/Pegasus/Common/SSLContext.h:

class PEGASUS_COMMON_LINKAGE SSLCallbackInfo

This class provides information that is used during the SSL verification callback.

Documentation

This 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:


This class has no child classes.
Friends:
class SSLSocket
class SSLCallback

Alphabetic index HTML hierarchy of classes or Java