Botan 3.6.1
Crypto and TLS for C&
|
#include <tls_session_key.h>
Public Member Functions | |
const secure_vector< uint8_t > & | aead_key (Connection_Side side) const |
const secure_vector< uint8_t > & | client_aead_key () const |
const std::vector< uint8_t > & | client_nonce () const |
const secure_vector< uint8_t > & | master_secret () const |
const std::vector< uint8_t > & | nonce (Connection_Side side) const |
const secure_vector< uint8_t > & | server_aead_key () const |
const std::vector< uint8_t > & | server_nonce () const |
Session_Keys ()=default | |
Session_Keys (const Handshake_State *state, const secure_vector< uint8_t > &pre_master_secret, bool resuming) | |
Definition at line 21 of file tls_session_key.h.
|
default |
Botan::TLS::Session_Keys::Session_Keys | ( | const Handshake_State * | state, |
const secure_vector< uint8_t > & | pre_master_secret, | ||
bool | resuming ) |
state | state the handshake state |
pre_master_secret | the pre-master secret |
resuming | whether this TLS session is resumed |
Session_Keys Constructor
Definition at line 19 of file tls_session_key.cpp.
References Botan::TLS::Ciphersuite::cipher_keylen(), Botan::TLS::Handshake_State::ciphersuite(), Botan::TLS::Handshake_State::client_hello(), Botan::copy_mem(), Botan::TLS::Handshake_Hash::final(), Botan::TLS::Handshake_State::hash(), Botan::TLS::Ciphersuite::mac_keylen(), Botan::TLS::Ciphersuite::nonce_bytes_from_handshake(), Botan::TLS::Ciphersuite::prf_algo(), Botan::TLS::Handshake_State::protocol_specific_prf(), and Botan::TLS::Handshake_State::server_hello().
|
inline |
Definition at line 48 of file tls_session_key.h.
References Botan::TLS::Client, client_aead_key(), and server_aead_key().
Referenced by Botan::TLS::Connection_Cipher_State::Connection_Cipher_State().
|
inline |
Definition at line 26 of file tls_session_key.h.
Referenced by aead_key().
|
inline |
Definition at line 36 of file tls_session_key.h.
Referenced by nonce().
|
inline |
Definition at line 46 of file tls_session_key.h.
|
inline |
Definition at line 52 of file tls_session_key.h.
References Botan::TLS::Client, client_nonce(), and server_nonce().
Referenced by Botan::TLS::Connection_Cipher_State::Connection_Cipher_State().
|
inline |
Definition at line 31 of file tls_session_key.h.
Referenced by aead_key().
|
inline |
Definition at line 41 of file tls_session_key.h.
Referenced by nonce().