Botan 3.6.1
Crypto and TLS for C&
|
#include <tls_messages.h>
Public Member Functions | |
Certificate_Verify_13 (const Certificate_13 &certificate_message, const std::vector< Signature_Scheme > &peer_allowed_schemes, std::string_view hostname, const Transcript_Hash &hash, Connection_Side whoami, Credentials_Manager &creds_mgr, const Policy &policy, Callbacks &callbacks, RandomNumberGenerator &rng) | |
Certificate_Verify_13 (const std::vector< uint8_t > &buf, Connection_Side side) | |
std::vector< uint8_t > | serialize () const override |
Signature_Scheme | signature_scheme () const |
Handshake_Type | type () const override |
std::string | type_string () const |
bool | verify (const Public_Key &public_key, Callbacks &callbacks, const Transcript_Hash &transcript_hash) const |
virtual Handshake_Type | wire_type () const |
Protected Attributes | |
Signature_Scheme | m_scheme |
std::vector< uint8_t > | m_signature |
Certificate Verify Message
Definition at line 801 of file tls_messages.h.
Botan::TLS::Certificate_Verify_13::Certificate_Verify_13 | ( | const std::vector< uint8_t > & | buf, |
Connection_Side | side ) |
Deserialize a Certificate message
buf | the serialized message |
side | is this a Connection_Side::Server or Connection_Side::Client certificate message |
Definition at line 169 of file msg_cert_verify.cpp.
References Botan::TLS::Signature_Scheme::is_available(), Botan::TLS::Signature_Scheme::is_compatible_with(), and Botan::TLS::Certificate_Verify::m_scheme.
Botan::TLS::Certificate_Verify_13::Certificate_Verify_13 | ( | const Certificate_13 & | certificate_message, |
const std::vector< Signature_Scheme > & | peer_allowed_schemes, | ||
std::string_view | hostname, | ||
const Transcript_Hash & | hash, | ||
Connection_Side | whoami, | ||
Credentials_Manager & | creds_mgr, | ||
const Policy & | policy, | ||
Callbacks & | callbacks, | ||
RandomNumberGenerator & | rng ) |
Definition at line 139 of file msg_cert_verify.cpp.
References Botan::TLS::Policy::allowed_signature_schemes(), BOTAN_ASSERT_NOMSG, Botan::TLS::Client, Botan::TLS::Certificate_13::empty(), Botan::TLS::Signature_Scheme::format(), Botan::TLS::Certificate_13::has_certificate_chain(), Botan::TLS::Signature_Scheme::is_available(), Botan::TLS::Signature_Scheme::is_compatible_with(), Botan::TLS::Certificate_13::leaf(), Botan::TLS::Certificate_Verify::m_scheme, Botan::TLS::Certificate_Verify::m_signature, Botan::TLS::Signature_Scheme::padding_string(), Botan::Credentials_Manager::private_key_for(), Botan::TLS::Certificate_13::public_key(), and Botan::TLS::Callbacks::tls_sign_message().
|
overridevirtualinherited |
Implements Botan::TLS::Handshake_Message.
Definition at line 60 of file msg_cert_verify.cpp.
References BOTAN_ASSERT_NOMSG, Botan::get_byte(), Botan::TLS::Signature_Scheme::is_set(), Botan::TLS::Certificate_Verify::m_scheme, Botan::TLS::Certificate_Verify::m_signature, and Botan::TLS::Signature_Scheme::wire_code().
|
inlineinherited |
Definition at line 762 of file tls_messages.h.
|
inlineoverridevirtualinherited |
Implements Botan::TLS::Handshake_Message.
Definition at line 760 of file tls_messages.h.
|
inherited |
Definition at line 19 of file tls_handshake_state.cpp.
References Botan::TLS::handshake_type_to_string(), and Botan::TLS::Handshake_Message::type().
bool Botan::TLS::Certificate_Verify_13::verify | ( | const Public_Key & | public_key, |
Callbacks & | callbacks, | ||
const Transcript_Hash & | transcript_hash ) const |
Definition at line 183 of file msg_cert_verify.cpp.
References Botan::Public_Key::algorithm_identifier(), BOTAN_ASSERT_NOMSG, BOTAN_UNUSED, Botan::TLS::Signature_Scheme::format(), Botan::TLS::Signature_Scheme::is_available(), Botan::TLS::Signature_Scheme::key_algorithm_identifier(), Botan::TLS::Certificate_Verify::m_scheme, Botan::TLS::Certificate_Verify::m_signature, Botan::TLS::Signature_Scheme::padding_string(), and Botan::TLS::Callbacks::tls_verify_message().
|
inlinevirtualinherited |
Reimplemented in Botan::TLS::Hello_Retry_Request.
Definition at line 39 of file tls_handshake_msg.h.
Referenced by Botan::TLS::Stream_Handshake_IO::send().
|
protectedinherited |
Definition at line 771 of file tls_messages.h.
Referenced by Botan::TLS::Certificate_Verify::Certificate_Verify(), Botan::TLS::Certificate_Verify_12::Certificate_Verify_12(), Certificate_Verify_13(), Certificate_Verify_13(), Botan::TLS::Certificate_Verify::serialize(), Botan::TLS::Certificate_Verify_12::verify(), and verify().
|
protectedinherited |
Definition at line 770 of file tls_messages.h.
Referenced by Botan::TLS::Certificate_Verify::Certificate_Verify(), Botan::TLS::Certificate_Verify_12::Certificate_Verify_12(), Certificate_Verify_13(), Botan::TLS::Certificate_Verify::serialize(), Botan::TLS::Certificate_Verify_12::verify(), and verify().