![]() |
TSDuck v3.43-4480
MPEG Transport Stream Toolkit
|
Base class for objects which must be terminated with OpenSSL. More...
#include <tsOpenSSL.h>

Public Member Functions | |
| Controlled () | |
| Constructor. | |
| virtual | ~Controlled () |
| Destructor. | |
| virtual void | terminate ()=0 |
| This method terminates anything about OpenSSL which must be cleaned up. | |
Base class for objects which must be terminated with OpenSSL.
When the application terminates, OpenSSL does its own cleanup. After this cleanup, no OpenSSL operation is possible. I can lead to crashes. A class which uses OpenSSL shall terminate all its processing no later than the OpenSSL cleanup. This is enforced by this base class.
|
pure virtual |
This method terminates anything about OpenSSL which must be cleaned up.
This method must be idempotent and must be called in the subclass destructor.
Implemented in ts::OpenSSL::Providers.