aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_handshake_msg.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_handshake_msg.h
parent446f2a0289cca0de11e748e73071a39c06940239 (diff)
Improve tls doxygen [ci skip]
Diffstat (limited to 'src/lib/tls/tls_handshake_msg.h')
-rw-r--r--src/lib/tls/tls_handshake_msg.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/tls/tls_handshake_msg.h b/src/lib/tls/tls_handshake_msg.h
index 618ae8d76..c1d3bfdc7 100644
--- a/src/lib/tls/tls_handshake_msg.h
+++ b/src/lib/tls/tls_handshake_msg.h
@@ -26,10 +26,19 @@ class Handshake_Hash;
class BOTAN_DLL Handshake_Message
{
public:
+ /**
+ * @return string representation of this message type
+ */
std::string type_string() const;
+ /**
+ * @return the message type
+ */
virtual Handshake_Type type() const = 0;
+ /**
+ * @return DER representation of this message
+ */
virtual std::vector<byte> serialize() const = 0;
virtual ~Handshake_Message() {}