Botan
1.10.9
|
#include <tls_messages.h>
Public Member Functions | |
Certificate_Verify (RandomNumberGenerator &rng, Record_Writer &, HandshakeHash &, const Private_Key *) | |
Certificate_Verify (const MemoryRegion< byte > &buf) | |
void | send (Record_Writer &, HandshakeHash &) const |
Handshake_Type | type () const |
bool | verify (const X509_Certificate &, HandshakeHash &) |
Certificate Verify Message
Definition at line 163 of file tls_messages.h.
Botan::Certificate_Verify::Certificate_Verify | ( | RandomNumberGenerator & | rng, |
Record_Writer & | writer, | ||
HandshakeHash & | hash, | ||
const Private_Key * | priv_key | ||
) |
Create a new Certificate Verify message
Definition at line 21 of file cert_ver.cpp.
References Botan::Public_Key::algo_name(), Botan::DER_SEQUENCE, Botan::HandshakeHash::final(), Botan::IEEE_1363, rng, and Botan::HandshakeMessage::send().
|
inline |
Definition at line 174 of file tls_messages.h.
|
inherited |
Definition at line 16 of file hello.cpp.
References Botan::Record_Writer::flush(), Botan::HANDSHAKE, Botan::Record_Writer::send(), Botan::MemoryRegion< T >::size(), Botan::HandshakeMessage::type(), and Botan::HandshakeHash::update().
Referenced by Botan::Certificate::Certificate(), Botan::Certificate_Req::Certificate_Req(), Certificate_Verify(), Botan::Client_Hello::Client_Hello(), Botan::Client_Key_Exchange::Client_Key_Exchange(), Botan::Finished::Finished(), Botan::Hello_Request::Hello_Request(), Botan::Server_Hello::Server_Hello(), Botan::Server_Hello_Done::Server_Hello_Done(), and Botan::Server_Key_Exchange::Server_Key_Exchange().
|
inlinevirtual |
Implements Botan::HandshakeMessage.
Definition at line 166 of file tls_messages.h.
References Botan::CERTIFICATE_VERIFY.
bool Botan::Certificate_Verify::verify | ( | const X509_Certificate & | cert, |
HandshakeHash & | hash | ||
) |
Verify a Certificate Verify message
Definition at line 73 of file cert_ver.cpp.
References Botan::DER_SEQUENCE, Botan::HandshakeHash::final(), Botan::IEEE_1363, and Botan::X509_Certificate::subject_public_key().