MySQL 8.0.40
Source Code Documentation
ShaCryptMcfType Class Reference

#include <kdf_sha_crypt.h>

Public Types

using Type = ShaCrypt::Type
 

Static Public Member Functions

static std::pair< bool, std::string > name (Type type) noexcept
 
static std::pair< bool, Typetype (const std::string &name) noexcept
 
static bool supports_name (const std::string &name) noexcept
 

Static Private Attributes

static constexpr char kTypeSha256 [] = "5"
 
static constexpr char kTypeSha512 [] = "6"
 
static constexpr char kTypeCachingSha2Password [] = "A"
 

Member Typedef Documentation

◆ Type

Member Function Documentation

◆ name()

static std::pair< bool, std::string > ShaCryptMcfType::name ( Type  type)
inlinestaticnoexcept

◆ supports_name()

static bool ShaCryptMcfType::supports_name ( const std::string &  name)
inlinestaticnoexcept

◆ type()

static std::pair< bool, Type > ShaCryptMcfType::type ( const std::string &  name)
inlinestaticnoexcept

Member Data Documentation

◆ kTypeCachingSha2Password

constexpr char ShaCryptMcfType::kTypeCachingSha2Password[] = "A"
staticconstexprprivate

◆ kTypeSha256

constexpr char ShaCryptMcfType::kTypeSha256[] = "5"
staticconstexprprivate

◆ kTypeSha512

constexpr char ShaCryptMcfType::kTypeSha512[] = "6"
staticconstexprprivate

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