aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/next_protocol.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename all the message source files to msg_lloyd2012-08-031-55/+0
|
* Combine Handshake_Writer and Handshake_Reader into Handshake_IO.lloyd2012-08-031-3/+3
| | | | | | | | This is mostly just a minor code savings for TLS, but it actually seems important for DTLS because getting a handshake message can be a trigger for retransmitting previously sent handshake messages in some circumstances. Having the reading and writing all in one layer makes it a bit easier to accomplish that.
* Add a class that handles writing handshake messages instead of pushinglloyd2012-07-161-2/+2
| | | | that task to Record_Writer. Needed for DTLS work.
* Fairly huge update that replaces the old secmem types with std::vectorlloyd2012-05-181-3/+3
| | | | | | using a custom allocator. Currently our allocator just does new/delete with a memset before deletion, and the mmap and mlock allocators have been removed.
* Move the handshake serialization code to Record_Writerlloyd2012-03-031-1/+2
|
* Since this branch is hugely API breaking already, go ahead and putlloyd2012-01-231-1/+5
| | | | | everything into a new namespace (Botan::TLS), removing the TLS_ prefixes on everything.
* Remove Handshake_Message::deserialize which was an unnecessary hook.lloyd2012-01-191-9/+9
| | | | | | Instead deserialize directly in the constructors that are passed the raw message data. This makes it easier to pass contextual information needed for decoding (eg, version numbers) where necessary.
* Add support for next protocol negotiation. Client only currently;lloyd2012-01-041-0/+50
tested with google.com:443