#include <OTPasswordData.hpp>
Definition at line 355 of file OTPasswordData.hpp.
opentxs::OTPasswordData::OTPasswordData |
( |
const char * |
szDisplay, |
|
|
OTPassword * |
pMasterPW = nullptr , |
|
|
std::shared_ptr< OTCachedKey > |
pCachedKey = std::shared_ptr<OTCachedKey>() |
|
) |
| |
Definition at line 229 of file OTPasswordData.cpp.
231 : m_pMasterPW(pMasterPW)
232 , m_strDisplay(
nullptr == szDisplay ?
"(Sorry, no user data provided.)"
234 , m_bUsingOldSystem(
false)
235 , m_pCachedKey(pCachedKey)
239 OT_ASSERT(((
nullptr == pMasterPW) && (!pCachedKey)) ||
240 ((
nullptr != pMasterPW) && (pCachedKey)));
opentxs::OTPasswordData::OTPasswordData |
( |
const std::string & |
str_Display, |
|
|
OTPassword * |
pMasterPW = nullptr , |
|
|
std::shared_ptr< OTCachedKey > |
pCachedKey = std::shared_ptr<OTCachedKey>() |
|
) |
| |
Definition at line 243 of file OTPasswordData.cpp.
246 : m_pMasterPW(pMasterPW)
247 , m_strDisplay(str_Display)
248 , m_bUsingOldSystem(
false)
249 , m_pCachedKey(pCachedKey)
253 OT_ASSERT(((
nullptr == pMasterPW) && (!pCachedKey)) ||
254 ((
nullptr != pMasterPW) && (pCachedKey)));
Definition at line 257 of file OTPasswordData.cpp.
260 : m_pMasterPW(pMasterPW)
261 , m_strDisplay(strDisplay.Get())
262 , m_bUsingOldSystem(
false)
263 , m_pCachedKey(pCachedKey)
267 OT_ASSERT(((
nullptr == pMasterPW) && (!pCachedKey)) ||
268 ((
nullptr != pMasterPW) && (pCachedKey)));
opentxs::OTPasswordData::~OTPasswordData |
( |
| ) |
|
std::shared_ptr<OTCachedKey> opentxs::OTPasswordData::GetCachedKey |
( |
| ) |
const |
|
inline |
const char * opentxs::OTPasswordData::GetDisplayString |
( |
| ) |
const |
OTPassword* opentxs::OTPasswordData::GetMasterPW |
( |
| ) |
const |
|
inline |
bool opentxs::OTPasswordData::isForCachedKey |
( |
| ) |
const |
bool opentxs::OTPasswordData::isForNormalNym |
( |
| ) |
const |
bool opentxs::OTPasswordData::isUsingOldSystem |
( |
| ) |
const |
void opentxs::OTPasswordData::setUsingOldSystem |
( |
bool |
bUsing = true | ) |
|
The documentation for this class was generated from the following files: