53 struct PasswordAccess;
171 bool Empty() const noexcept;
176 explicit operator
bool() const noexcept;
183 bool operator==(const
Password& other) const noexcept;
190 bool operator!=(const
Password& other) const noexcept;
193 friend struct Helpers::PasswordAccess;
195 std::shared_ptr<Helpers::SecureContent> m_data;
Shared, wiped container for passwords and raw key material.
Definition password.hxx:104
Password(const Password &other)
Copy constructor.
Password(std::string &value) noexcept
From a std::string.
StormByte::ByteSize Size() const noexcept
Stored size in bytes.
Password & operator=(const Password &other)
Copy assignment.
Password & operator=(Password &&other) noexcept
Move assignment.
Password(Password &&other) noexcept
Move constructor.
Password(const void *data, StormByte::ByteSize size) noexcept
From raw bytes.
Password(const char *value) noexcept
From a C string up to the terminator.
Definition password.hxx:51
Root namespace of the StormByte suite.
#define STORMBYTE_CRYPTO_PUBLIC
Definition visibility.h:53