userver: userver/crypto/openssl.hpp Source File
Loading...
Searching...
No Matches
openssl.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/crypto/openssl.hpp
4/// @brief @copybrief crypto::Openssl
5
6USERVER_NAMESPACE_BEGIN
7
8namespace crypto {
9
10/// @brief Class to initialize OpenSSL with mutexes.
11class Openssl final {
12 public:
13 /// Initialize OpenSSL mutexes. Safe to call multiple times. Should be called
14 /// in drivers that use low level libraries that use OpenSSL.
15 static void Init() noexcept;
16
17 private:
18 Openssl() noexcept;
19};
20
21} // namespace crypto
22
23USERVER_NAMESPACE_END