userver: crypto::SslCtx Class Reference
Loading...
Searching...
No Matches
crypto::SslCtx Class Reference

#include <userver/crypto/ssl_ctx.hpp>

Detailed Description

SSL context

Definition at line 20 of file ssl_ctx.hpp.

Public Member Functions

 SslCtx (SslCtx &&) noexcept
 
SslCtxoperator= (SslCtx &&) noexcept
 
 SslCtx (const SslCtx &)=delete
 
SslCtxoperator= (const SslCtx &)=delete
 
void * GetRawSslCtx () const noexcept
 

Static Public Member Functions

static SslCtx CreateServerTlsContext (const crypto::CertificatesChain &cert_chain, const crypto::PrivateKey &key, const std::vector< crypto::Certificate > &extra_cert_authorities={})
 
static SslCtx CreateClientTlsContext (std::string_view server_name)
 
static SslCtx CreateClientTlsContext (std::string_view server_name, const crypto::Certificate &cert, const crypto::PrivateKey &key, const std::vector< crypto::Certificate > &extra_cert_authorities={})
 

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