- Default TLS cipher selection, with override (thanks to Zed Jorarard).
- Updated documentation.
This commit is contained in:
Paul Beckingham 2013-11-16 15:07:45 -05:00
parent c6032d99f9
commit 0df30a5be0
9 changed files with 31 additions and 3 deletions

View file

@ -40,6 +40,7 @@ public:
void limit (int);
void debug (int);
void trust (bool);
void ciphers (const std::string&);
void init (const std::string&, const std::string&, const std::string&);
void connect (const std::string&, const std::string&);
void bye ();
@ -51,6 +52,7 @@ private:
std::string _ca;
std::string _cert;
std::string _key;
std::string _ciphers;
gnutls_certificate_credentials_t _credentials;
gnutls_session_t _session;
int _socket;