MySQL 26.10.0
Source Code Documentation
RsaTlsContext Class Reference

Pins one TLS generation for an RSA password exchange. More...

#include <classic_auth.h>

Public Member Functions

void reset (std::shared_ptr< TlsServerContext > tls_context={})
 
 operator bool () const
 
stdx::expected< std::string, std::error_code > public_key () const
 
stdx::expected< std::string, std::error_code > decrypt_password (std::string_view encrypted, std::string_view nonce) const
 

Private Attributes

std::shared_ptr< TlsServerContext > tls_context_
 

Detailed Description

Pins one TLS generation for an RSA password exchange.

Member Function Documentation

◆ decrypt_password()

stdx::expected< std::string, std::error_code > RsaTlsContext::decrypt_password ( std::string_view  encrypted,
std::string_view  nonce 
) const

◆ operator bool()

RsaTlsContext::operator bool ( ) const
inlineexplicit

◆ public_key()

stdx::expected< std::string, std::error_code > RsaTlsContext::public_key ( ) const

◆ reset()

void RsaTlsContext::reset ( std::shared_ptr< TlsServerContext >  tls_context = {})
inline

Member Data Documentation

◆ tls_context_

std::shared_ptr<TlsServerContext> RsaTlsContext::tls_context_
private

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