Botan

TLS Handshake State

License
Botan is released under the Simplified BSD License (see LICENSE.md)

class  HandshakeState;

SSL/TLS Handshake State


const bool  receivedHandshakeMsg(HandshakeType handshake_msg);

Return true iff we have received a particular message already

Parameters
HandshakeType handshake_msg the message type

void  confirmTransitionTo(HandshakeType handshake_msg);

Confirm that we were expecting this message type

Parameters
HandshakeType handshake_msg the message type

void  setExpectedNext(HandshakeType handshake_msg);

Record that we are expecting a particular message type next

Parameters
HandshakeType handshake_msg the message type