8 #ifndef BOTAN_TLS_MESSAGES_H__ 9 #define BOTAN_TLS_MESSAGES_H__ 11 #include <botan/tls_record.h> 12 #include <botan/internal/tls_handshake_hash.h> 13 #include <botan/tls_policy.h> 14 #include <botan/bigint.h> 15 #include <botan/pkcs8.h> 16 #include <botan/x509cert.h> 52 std::string
hostname()
const {
return requested_hostname; }
56 bool offered_suite(
u16bit)
const;
67 deserialize_sslv2(buf);
77 std::vector<u16bit> suites;
78 std::vector<byte> comp_algos;
79 std::string requested_hostname;
80 std::string requested_srp_id;
122 std::vector<X509_Certificate>
cert_chain()
const {
return certs; }
130 std::vector<X509_Certificate> certs;
149 const std::vector<X509_Certificate>&);
156 std::vector<X509_DN> names;
157 std::vector<Certificate_Type> types;
239 const std::vector<X509_Certificate>&,
276 std::vector<BigInt> params;
virtual ~HandshakeMessage()
Handshake_Type type() const
Server_Hello(const MemoryRegion< byte > &buf)
Handshake_Type type() const
std::vector< byte > compression_algos() const
void send(Record_Writer &, HandshakeHash &) const
Handshake_Type type() const
Handshake_Type type() const
const SecureVector< byte > & session_id() const
Handshake_Type type() const
Handshake_Type type() const
virtual Handshake_Type type() const =0
const SecureVector< byte > & random() const
std::vector< X509_Certificate > cert_chain() const
Certificate(const MemoryRegion< byte > &buf)
Server_Hello_Done(const MemoryRegion< byte > &buf)
std::vector< u16bit > ciphersuites() const
Hello_Request(const MemoryRegion< byte > &buf)
std::string hostname() const
Handshake_Type type() const
const SecureVector< byte > & session_id() const
Handshake_Type type() const
std::vector< Certificate_Type > acceptable_types() const
Version_Code version() const
Handshake_Type type() const
Certificate_Verify(const MemoryRegion< byte > &buf)
const SecureVector< byte > & random() const
Finished(const MemoryRegion< byte > &buf)
Client_Hello(const MemoryRegion< byte > &buf, Handshake_Type type)
std::vector< X509_DN > acceptable_CAs() const
Handshake_Type type() const
Server_Key_Exchange(const MemoryRegion< byte > &buf)
byte compression_algo() const
Certificate_Req(const MemoryRegion< byte > &buf)
std::string srp_identifier() const
u16bit ciphersuite() const