Botan
1.10.9
|
#include <tls_session_key.h>
Public Member Functions | |
SymmetricKey | client_cipher_key () const |
InitializationVector | client_iv () const |
SymmetricKey | client_mac_key () const |
SecureVector< byte > | master_secret () const |
SymmetricKey | server_cipher_key () const |
InitializationVector | server_iv () const |
SymmetricKey | server_mac_key () const |
SessionKeys () | |
SessionKeys (const CipherSuite &, Version_Code, const MemoryRegion< byte > &, const MemoryRegion< byte > &, const MemoryRegion< byte > &) | |
TLS Session Keys
Definition at line 20 of file tls_session_key.h.
|
inline |
Definition at line 34 of file tls_session_key.h.
Botan::SessionKeys::SessionKeys | ( | const CipherSuite & | suite, |
Version_Code | version, | ||
const MemoryRegion< byte > & | pre_master_secret, | ||
const MemoryRegion< byte > & | c_random, | ||
const MemoryRegion< byte > & | s_random | ||
) |
SessionKeys Constructor
Definition at line 129 of file tls_session_key.cpp.
References Botan::OctetString::begin(), Botan::block_size_of(), Botan::CipherSuite::cipher_algo(), Botan::CipherSuite::cipher_keylen(), Botan::have_block_cipher(), Botan::CipherSuite::mac_algo(), Botan::output_length_of(), Botan::SSL_V3, Botan::TLS_V10, and Botan::TLS_V11.
SymmetricKey Botan::SessionKeys::client_cipher_key | ( | ) | const |
Return the client cipher key
Definition at line 18 of file tls_session_key.cpp.
Referenced by Botan::Record_Writer::set_keys(), and Botan::Record_Reader::set_keys().
InitializationVector Botan::SessionKeys::client_iv | ( | ) | const |
Return the client cipher IV
Definition at line 50 of file tls_session_key.cpp.
Referenced by Botan::Record_Writer::set_keys(), and Botan::Record_Reader::set_keys().
SymmetricKey Botan::SessionKeys::client_mac_key | ( | ) | const |
Return the client MAC key
Definition at line 34 of file tls_session_key.cpp.
Referenced by Botan::Record_Writer::set_keys(), and Botan::Record_Reader::set_keys().
SecureVector< byte > Botan::SessionKeys::master_secret | ( | ) | const |
Return the TLS master secret
Definition at line 66 of file tls_session_key.cpp.
SymmetricKey Botan::SessionKeys::server_cipher_key | ( | ) | const |
Return the server cipher key
Definition at line 26 of file tls_session_key.cpp.
Referenced by Botan::Record_Writer::set_keys(), and Botan::Record_Reader::set_keys().
InitializationVector Botan::SessionKeys::server_iv | ( | ) | const |
Return the server cipher IV
Definition at line 58 of file tls_session_key.cpp.
Referenced by Botan::Record_Writer::set_keys(), and Botan::Record_Reader::set_keys().
SymmetricKey Botan::SessionKeys::server_mac_key | ( | ) | const |
Return the server MAC key
Definition at line 42 of file tls_session_key.cpp.
Referenced by Botan::Record_Writer::set_keys(), and Botan::Record_Reader::set_keys().