crypto::Aes::Key
Functions
Key()#
inline
crypto::Aes::Key::Key ()Key(const Construct &options)#
inline explicit
crypto::Aes::Key::Key (const Construct &options)Key(const Key256 &key256)#
inline explicit
crypto::Aes::Key::Key (const Key256 &key256)Key(const Key256 &key256, const Iv &iv)#
inline
crypto::Aes::Key::Key (const Key256 &key256, const Iv &iv)get_initialization_vector_string() const#
inline
var::KeyString crypto::Aes::Key::get_initialization_vector_string () constType: var::KeyString
get_key128() const#
inline
Key128 crypto::Aes::Key::get_key128 () constType: Key128
get_key128_string() const#
inline
var::KeyString crypto::Aes::Key::get_key128_string () constType: var::KeyString
get_key256() const#
inline
Key256 crypto::Aes::Key::get_key256 () constType: Key256
get_key256_string() const#
inline
var::GeneralString crypto::Aes::Key::get_key256_string () constType: var::GeneralString
initialization_vector() const#
inline
const InitializationVector & crypto::Aes::Key::initialization_vector () constType: const InitializationVector &
is_iv_null() const#
inline
bool crypto::Aes::Key::is_iv_null () constType: bool
is_key_null() const#
inline
bool crypto::Aes::Key::is_key_null () constType: bool
is_null() const#
inline
bool crypto::Aes::Key::is_null () constType: bool
key256() const#
inline
const Key256 & crypto::Aes::Key::key256 () constType: const Key256 &
nullify()#
inline
Key & crypto::Aes::Key::nullify ()Type: Key &
set_key(const Key128 &key)#
inline
Key & crypto::Aes::Key::set_key (const Key128 &key)Type: Key &
Parameters:
- const Key128 &
key
set_key(const Key256 &key)#
inline
Key & crypto::Aes::Key::set_key (const Key256 &key)Type: Key &
Parameters:
- const Key256 &
key
Static Functions
from_string(const var::StringView key)#
inline
static Key crypto::Aes::Key::from_string (const var::StringView key)Type: Key
Parameters:
- const var::StringView
key
from_string(const var::StringView key, const var::StringView iv)#
inline
static Key crypto::Aes::Key::from_string (const var::StringView key, const var::StringView iv)Type: Key
Parameters:
- const var::StringView
key - const var::StringView
iv
get_null_iv_string()#
inline
static constexpr const char * crypto::Aes::Key::get_null_iv_string ()Type: constexpr const char *
get_null_key128_string()#
inline
static constexpr const char * crypto::Aes::Key::get_null_key128_string ()Type: constexpr const char *
get_null_key256_string()#
inline
static constexpr const char * crypto::Aes::Key::get_null_key256_string ()Type: constexpr const char *