mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 14:12:43 -04:00
JSON API import/export PGP key to file
This commit is contained in:
parent
7a1375ff6f
commit
6543d713e4
3 changed files with 27 additions and 7 deletions
|
@ -1347,9 +1347,12 @@ bool RsAccounts::ImportIdentity(const std::string& fname,RsPgpId& imported_pg
|
|||
return rsAccountsDetails->importIdentity(fname,imported_pgp_id,import_error);
|
||||
}
|
||||
|
||||
bool RsAccounts::ImportIdentityFromString(const std::string& data,RsPgpId& imported_pgp_id,std::string& import_error)
|
||||
bool RsAccounts::importIdentityFromString(
|
||||
const std::string& data, RsPgpId& imported_pgp_id,
|
||||
std::string& import_error )
|
||||
{
|
||||
return rsAccountsDetails->importIdentityFromString(data,imported_pgp_id,import_error);
|
||||
return rsAccountsDetails->
|
||||
importIdentityFromString(data, imported_pgp_id, import_error);
|
||||
}
|
||||
|
||||
/*static*/ bool RsAccounts::exportIdentityToString(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue