TSDuck v3.46-4806
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::OpenSSL::Providers Class Reference

A singleton which manages OpenSSL cryptographic providers. More...

#include <tsOpenSSL.h>

Inheritance diagram for ts::OpenSSL::Providers:
Collaboration diagram for ts::OpenSSL::Providers:

Public Member Functions

void load (const char *provider)
 Load an OpenSSL provider if not yet loaded.
 
virtual void terminate () override
 This method terminates anything about OpenSSL which must be cleaned up.
 

Static Public Member Functions

static Providers & Instance ()
 Get the instance of the singleton of this class.
 
static std::string Properties (const char *provider)
 Get the properies string from an OpenSSL provider.
 

Detailed Description

A singleton which manages OpenSSL cryptographic providers.

Member Function Documentation

◆ Instance()

static Providers & ts::OpenSSL::Providers::Instance ( )
static

Get the instance of the singleton of this class.

Returns
The instance of the singleton of this class.

◆ terminate()

virtual void ts::OpenSSL::Providers::terminate ( )
overridevirtual

This method terminates anything about OpenSSL which must be cleaned up.

This method must be idempotent and must be called in the subclass destructor.

Implements ts::OpenSSL::Controlled.

◆ load()

void ts::OpenSSL::Providers::load ( const char *  provider)

Load an OpenSSL provider if not yet loaded.

Parameters
[in]providerProvider name.

◆ Properties()

static std::string ts::OpenSSL::Providers::Properties ( const char *  provider)
static

Get the properies string from an OpenSSL provider.

Parameters
[in]providerProvider name.
Returns
Corresponding properties string.

The documentation for this class was generated from the following file: