mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 22:40:36 -04:00
added display of SSL encryption parameters in PeerDetails dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6465 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1ebde8788f
commit
9f88917ac1
12 changed files with 102 additions and 7 deletions
|
@ -35,6 +35,7 @@ class NotifyBase;
|
|||
class RsIface;
|
||||
class RsControl;
|
||||
class RsInit;
|
||||
class RsPeerCryptoParams;
|
||||
struct TurtleFileInfo ;
|
||||
|
||||
/* declare single RsIface for everyone to use! */
|
||||
|
@ -163,8 +164,10 @@ class RsControl /* The Main Interface Class - for controlling the server */
|
|||
|
||||
/****************************************/
|
||||
|
||||
NotifyBase &getNotify() { return cb; }
|
||||
RsIface &getIface() { return rsIface; }
|
||||
NotifyBase & getNotify() { return cb; }
|
||||
RsIface & getIface() { return rsIface; }
|
||||
|
||||
virtual bool getPeerCryptoDetails(const std::string& ssl_id,RsPeerCryptoParams& params) = 0;
|
||||
|
||||
private:
|
||||
NotifyBase &cb;
|
||||
|
|
|
@ -228,6 +228,19 @@ class RsPeerDetails
|
|||
uint32_t linkType;
|
||||
};
|
||||
|
||||
// This class is used to get info about crytographic algorithms used with a
|
||||
// particular peer.
|
||||
//
|
||||
class RsPeerCryptoParams
|
||||
{
|
||||
public:
|
||||
int connexion_state ;
|
||||
std::string cipher_name ;
|
||||
int cipher_bits_1 ;
|
||||
int cipher_bits_2 ;
|
||||
std::string cipher_version ;
|
||||
};
|
||||
|
||||
class RsGroupInfo
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue