Ark Server API (ASE) - Wiki
|
#include <OpenSSLInitializer.h>
Public Member Functions | |
OpenSSLInitializer () | |
~OpenSSLInitializer () | |
Automatically initialize OpenSSL on startup. | |
Static Public Member Functions | |
static void | initialize () |
Automatically shut down OpenSSL on exit. | |
static void | uninitialize () |
Initializes the OpenSSL machinery. | |
static bool | isFIPSEnabled () |
Shuts down the OpenSSL machinery. | |
static void | enableFIPSMode (bool enabled) |
Protected Types | |
enum | { SEEDSIZE = 256 } |
Static Protected Member Functions | |
static void | lock (int mode, int n, const char *file, int line) |
static unsigned long | id () |
static struct CRYPTO_dynlock_value * | dynlockCreate (const char *file, int line) |
static void | dynlock (int mode, struct CRYPTO_dynlock_value *lock, const char *file, int line) |
static void | dynlockDestroy (struct CRYPTO_dynlock_value *lock, const char *file, int line) |
Static Private Attributes | |
static Poco::FastMutex * | _mutexes |
static Poco::AtomicCounter | _rc |
Initalizes the OpenSSL library.
The class ensures the earliest initialization and the latest shutdown of the OpenSSL library.
Definition at line 44 of file OpenSSLInitializer.h.
|
protected |
Enumerator | |
---|---|
SEEDSIZE |
Definition at line 70 of file OpenSSLInitializer.h.
Poco::Crypto::OpenSSLInitializer::OpenSSLInitializer | ( | ) |
Poco::Crypto::OpenSSLInitializer::~OpenSSLInitializer | ( | ) |
Automatically initialize OpenSSL on startup.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
inlinestatic |
Definition at line 106 of file OpenSSLInitializer.h.
|
staticprotected |
|
static |
Automatically shut down OpenSSL on exit.
|
inlinestatic |
Shuts down the OpenSSL machinery.
Definition at line 91 of file OpenSSLInitializer.h.
|
staticprotected |
|
static |
Initializes the OpenSSL machinery.
|
staticprivate |
Definition at line 83 of file OpenSSLInitializer.h.
|
staticprivate |
Definition at line 84 of file OpenSSLInitializer.h.