sptk2 logo
SPTK Home Page
Static Public Member Functions | List of all members
sptk::CachedSSLContext Class Reference

Static Public Member Functions

static SharedSSLContext get (const SSLKeys &keys, const String &cipherList)
 Loads private key and certificate(s) More...
 

Member Function Documentation

◆ get()

static SharedSSLContext sptk::CachedSSLContext::get ( const SSLKeys keys,
const String cipherList 
)
static

Loads private key and certificate(s)

Private key and certificates must be encoded with PEM format. A single file containing private key and certificate can be used by supplying it for both, private key and certificate parameters. If private key is protected with password, then password can be supplied to auto-answer.

Parameters
keysKeys
cipherListCipher list
Returns
Shared SSL context

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

Fri Oct 14 2022 09:58:32: SPTK 5.4.1