Botan
3.11.0
Crypto and TLS for C&
src
lib
tls
tls12
msg_cert_status_12.cpp
Go to the documentation of this file.
1
/*
2
* Certificate Status
3
* (C) 2016 Jack Lloyd
4
*
5
* Botan is released under the Simplified BSD License (see license.txt)
6
*/
7
8
#include <botan/tls_messages_12.h>
9
10
#include <botan/internal/tls_handshake_hash.h>
11
#include <botan/internal/tls_handshake_io.h>
12
13
namespace
Botan::TLS
{
14
15
Certificate_Status_12::Certificate_Status_12
(
Handshake_IO
& io,
16
Handshake_Hash
& hash,
17
std::vector<uint8_t> raw_response_bytes) :
18
Certificate_Status
(std::move(raw_response_bytes)) {
19
hash.
update
(io.
send
(*
this
));
20
}
21
22
}
// namespace Botan::TLS
Botan::TLS::Certificate_Status_12::Certificate_Status_12
Certificate_Status_12(Handshake_IO &io, Handshake_Hash &hash, std::vector< uint8_t > raw_response_bytes)
Definition
msg_cert_status_12.cpp:15
Botan::TLS::Certificate_Status::Certificate_Status
Certificate_Status(const std::vector< uint8_t > &buf, Connection_Side from)
Definition
msg_cert_status.cpp:14
Botan::TLS::Handshake_Hash
Definition
tls_handshake_hash.h:19
Botan::TLS::Handshake_Hash::update
void update(const uint8_t in[], size_t length)
Definition
tls_handshake_hash.h:21
Botan::TLS::Handshake_IO
Definition
tls_handshake_io.h:43
Botan::TLS::Handshake_IO::send
virtual std::vector< uint8_t > send(const Handshake_Message &msg)=0
Botan::TLS
Definition
asio_context.cpp:18
Generated by
1.15.0