aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_session.h
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2016-10-18 09:54:45 +0200
committerRenĂ© Korthaus <[email protected]>2016-10-19 09:13:36 +0200
commit47532b63e947e020df15a03d91f9d67657cd11dd (patch)
tree38adf81ddad33192a13df060d24b3a0c7f2aab4d /src/lib/tls/tls_session.h
parent446f2a0289cca0de11e748e73071a39c06940239 (diff)
Improve tls doxygen [ci skip]
Diffstat (limited to 'src/lib/tls/tls_session.h')
-rw-r--r--src/lib/tls/tls_session.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/tls/tls_session.h b/src/lib/tls/tls_session.h
index 643b79ac6..5530632db 100644
--- a/src/lib/tls/tls_session.h
+++ b/src/lib/tls/tls_session.h
@@ -61,11 +61,14 @@ class BOTAN_DLL Session
/**
* Load a session from DER representation (created by DER_encode)
+ * @param ber DER representation buffer
+ * @param ber_len size of buffer in bytes
*/
Session(const byte ber[], size_t ber_len);
/**
* Load a session from PEM representation (created by PEM_encode)
+ * @param pem PEM representation
*/
explicit Session(const std::string& pem);
@@ -181,6 +184,9 @@ class BOTAN_DLL Session
*/
const std::vector<byte>& session_ticket() const { return m_session_ticket; }
+ /**
+ * @return information about the TLS server
+ */
const Server_Information& server_info() const { return m_server_info; }
private: