#include <userver/crypto/private_key.hpp>
Loaded into memory private key
Definition at line 18 of file private_key.hpp.
◆ NativeType
using crypto::PrivateKey::NativeType = EVP_PKEY |
◆ GetNative()
NativeType * crypto::PrivateKey::GetNative |
( |
| ) |
const |
|
inlinenoexcept |
◆ LoadFromString() [1/2]
static PrivateKey crypto::PrivateKey::LoadFromString |
( |
std::string_view |
key | ) |
|
|
static |
Accepts a string that contains a private key (not protected with password), checks the key and password, loads it into OpenSSL structures and returns as a PrivateKey variable.
- Exceptions
-
◆ LoadFromString() [2/2]
static PrivateKey crypto::PrivateKey::LoadFromString |
( |
std::string_view |
key, |
|
|
std::string_view |
password |
|
) |
| |
|
static |
Accepts a string that contains a private key and a password, checks the key and password, loads it into OpenSSL structures and returns as a PrivateKey variable.
- Exceptions
-
◆ operator bool()
crypto::PrivateKey::operator bool |
( |
| ) |
const |
|
inlineexplicitnoexcept |
The documentation for this class was generated from the following file: