Implemented sending of Certificate, ClientKeyExchange, CertificateVerify and ChangeCipherSpec as peer

This commit is contained in:
Martin Willi
2010-08-03 15:39:24 +02:00
parent 3a1640dea1
commit 3ddd164e5e
11 changed files with 406 additions and 19 deletions
@@ -59,6 +59,18 @@ struct tls_handshake_t {
status_t (*build)(tls_handshake_t *this,
tls_handshake_type_t *type, tls_writer_t *writer);
/**
* Check if the cipher spec for outgoing messages has changed.
*
* @return TRUE if cipher spec changed
*/
bool (*cipherspec_changed)(tls_handshake_t *this);
/**
* Change the cipher spec for incoming messages.
*/
void (*change_cipherspec)(tls_handshake_t *this);
/**
* Destroy a tls_handshake_t.
*/