#include <OTKeyring.hpp>
Definition at line 156 of file OTKeyring.hpp.
bool opentxs::OTKeyring::DeleteSecret |
( |
const OTString & |
strUser, |
|
|
const std::string & |
str_display |
|
) |
| |
|
static |
Definition at line 1395 of file OTKeyring.cpp.
1399 #if defined(OT_KEYRING_WINDOWS) && defined(_WIN32)
1400 return OTKeyring::Windows_DeleteSecret(strUser, str_display);
1401 #elif defined(OT_KEYRING_MAC) && defined(__APPLE__)
1402 return OTKeyring::Mac_DeleteSecret(strUser, str_display);
1403 #elif defined(OT_KEYRING_IOS) && defined(__APPLE__)
1404 return OTKeyring::IOS_DeleteSecret(strUser, str_display);
1405 #elif defined(OT_KEYRING_GNOME)
1406 return OTKeyring::Gnome_DeleteSecret(strUser, str_display);
1407 #elif defined(OT_KEYRING_KWALLET)
1408 return OTKeyring::KWallet_DeleteSecret(strUser, str_display);
1409 #elif defined(OT_KEYRING_FLATFILE)
1410 return OTKeyring::FlatFile_DeleteSecret(strUser, str_display);
1412 otErr <<
"OTKeyring::DeleteSecret: WARNING: The OT config file says to "
1413 "use the system keyring, "
1414 "but OT wasn't compiled to support any keyrings.\n";
static EXPORT std::shared_ptr< OTCachedKey > It(OTIdentifier *pIdentifier=nullptr)
OTLOG_IMPORT OTLogStream otErr
bool opentxs::OTKeyring::RetrieveSecret |
( |
const OTString & |
strUser, |
|
|
OTPassword & |
thePassword, |
|
|
const std::string & |
str_display |
|
) |
| |
|
static |
Definition at line 1365 of file OTKeyring.cpp.
1369 #if defined(OT_KEYRING_WINDOWS) && defined(_WIN32)
1370 return OTKeyring::Windows_RetrieveSecret(strUser, thePassword,
1372 #elif defined(OT_KEYRING_MAC) && defined(__APPLE__)
1373 return OTKeyring::Mac_RetrieveSecret(strUser, thePassword, str_display);
1374 #elif defined(OT_KEYRING_IOS) && defined(__APPLE__)
1375 return OTKeyring::IOS_RetrieveSecret(strUser, thePassword, str_display);
1376 #elif defined(OT_KEYRING_GNOME)
1377 return OTKeyring::Gnome_RetrieveSecret(strUser, thePassword,
1379 #elif defined(OT_KEYRING_KWALLET)
1380 return OTKeyring::KWallet_RetrieveSecret(strUser, thePassword,
1382 #elif defined(OT_KEYRING_FLATFILE)
1383 return OTKeyring::FlatFile_RetrieveSecret(strUser, thePassword,
1386 otErr <<
"OTKeyring::RetrieveSecret: WARNING: The OT config file says "
1387 "to use the system keyring, "
1388 "but OT wasn't compiled to support any keyrings.\n";
static EXPORT std::shared_ptr< OTCachedKey > It(OTIdentifier *pIdentifier=nullptr)
OTLOG_IMPORT OTLogStream otErr
bool opentxs::OTKeyring::StoreSecret |
( |
const OTString & |
strUser, |
|
|
const OTPassword & |
thePassword, |
|
|
const std::string & |
str_display |
|
) |
| |
|
static |
Definition at line 1335 of file OTKeyring.cpp.
1340 #if defined(OT_KEYRING_WINDOWS) && defined(_WIN32)
1341 return OTKeyring::Windows_StoreSecret(strUser, thePassword,
1343 #elif defined(OT_KEYRING_MAC) && defined(__APPLE__)
1344 return OTKeyring::Mac_StoreSecret(strUser, thePassword, str_display);
1345 #elif defined(OT_KEYRING_IOS) && defined(__APPLE__)
1346 return OTKeyring::IOS_StoreSecret(strUser, thePassword, str_display);
1347 #elif defined(OT_KEYRING_GNOME)
1348 return OTKeyring::Gnome_StoreSecret(strUser, thePassword, str_display);
1349 #elif defined(OT_KEYRING_KWALLET)
1350 return OTKeyring::KWallet_StoreSecret(strUser, thePassword,
1352 #elif defined(OT_KEYRING_FLATFILE)
1353 return OTKeyring::FlatFile_StoreSecret(strUser, thePassword,
1356 otErr <<
"OTKeyring::StoreSecret: WARNING: The OT config file says to "
1357 "use the system keyring, "
1358 "but OT wasn't compiled to support any keyrings.\n";
static EXPORT std::shared_ptr< OTCachedKey > It(OTIdentifier *pIdentifier=nullptr)
OTLOG_IMPORT OTLogStream otErr
The documentation for this class was generated from the following files: