#include <password.h>
Definition at line 41 of file password.h.
◆ password_container() [1/5]
| tools::password_container::password_container |
( |
| ) |
|
|
noexcept |
◆ password_container() [2/5]
| tools::password_container::password_container |
( |
std::string && |
password | ) |
|
|
noexcept |
password is used as password
Definition at line 237 of file password.cpp.
const T & move(const T &t)
◆ password_container() [3/5]
◆ password_container() [4/5]
◆ password_container() [5/5]
◆ ~password_container()
| tools::password_container::~password_container |
( |
| ) |
|
|
noexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ password()
Definition at line 66 of file password.h.
66 {
return m_password; }
◆ prompt()
- Returns
- A password from stdin TTY prompt or
std::cin pipe.
Definition at line 253 of file password.cpp.
258 if (is_cin_tty() ? read_from_tty(verify,
message, hide_input, pass1.m_password, pass2.m_password) : read_from_file(pass1.m_password))
std::string message("Message requiring signing")
const T & move(const T &t)
◆ is_prompting
| std::atomic< bool > tools::password_container::is_prompting |
|
static |
◆ max_password_size
| constexpr const size_t tools::password_container::max_password_size = 1024 |
|
static |
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/src/common/password.h
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/src/common/password.cpp