Add JSON API to list PGP friends

This commit is contained in:
Gioacchino Mazzurco 2019-10-06 23:03:14 +02:00
parent db3aefcd0b
commit 89819dd945
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
3 changed files with 31 additions and 4 deletions

View file

@ -83,6 +83,11 @@ public:
virtual const RsPgpId& getGPGOwnId();
virtual RsPgpId getGPGId(const RsPeerId &ssl_id);
virtual bool isKeySupported(const RsPgpId& ids);
/// @see RsPeers
bool getPgpFriendList(std::vector<RsPgpId>& pgpIds) override;
RS_DEPRECATED_FOR(getPgpFriendList)
virtual bool getGPGAcceptedList(std::list<RsPgpId> &ids);
virtual bool getGPGSignedList(std::list<RsPgpId> &ids);
virtual bool getGPGValidList(std::list<RsPgpId> &ids);