MySQL 8.3.0
Source Code Documentation
Pbkdf2McfType Class Reference

map the MCF name to internal types. More...

#include <kdf_pbkdf2.h>

Public Types

using Type = Pbkdf2::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 Public Attributes

static constexpr char kTypeSha256 [] = "pbkdf2-sha256"
static constexpr char kTypeSha512 [] = "pbkdf2-sha512"

Detailed Description

map the MCF name to internal types.

MCF-name are taking from passlib:

Member Typedef Documentation

◆ Type

Member Function Documentation

◆ name()

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

◆ supports_name()

static bool Pbkdf2McfType::supports_name ( const std::string &  name)

◆ type()

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

Member Data Documentation

◆ kTypeSha256

constexpr char Pbkdf2McfType::kTypeSha256[] = "pbkdf2-sha256"

◆ kTypeSha512

constexpr char Pbkdf2McfType::kTypeSha512[] = "pbkdf2-sha512"

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