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

#include <tsOpenSSL.h>

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

Public Member Functions

void load (const char *provider)
virtual void terminate () override

Static Public Member Functions

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

Detailed Description

A singleton which manages OpenSSL cryptographic providers.

Member Function Documentation

◆ Instance()

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()

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: