Botan  1.11.15
src/lib/tls/tls_handshake_msg.h
Go to the documentation of this file.
00001 /*
00002 * TLS Handshake Message
00003 * (C) 2012 Jack Lloyd
00004 *
00005 * Botan is released under the Simplified BSD License (see license.txt)
00006 */
00007 
00008 #ifndef BOTAN_TLS_HANDSHAKE_MSG_H__
00009 #define BOTAN_TLS_HANDSHAKE_MSG_H__
00010 
00011 #include <botan/tls_magic.h>
00012 #include <vector>
00013 #include <string>
00014 
00015 namespace Botan {
00016 
00017 namespace TLS {
00018 
00019 /**
00020 * TLS Handshake Message Base Class
00021 */
00022 class BOTAN_DLL Handshake_Message
00023    {
00024    public:
00025       virtual Handshake_Type type() const = 0;
00026 
00027       virtual std::vector<byte> serialize() const = 0;
00028 
00029       virtual ~Handshake_Message() {}
00030    };
00031 
00032 }
00033 
00034 }
00035 
00036 #endif