Botan 3.11.0
Crypto and TLS for C&
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
13namespace Botan::TLS {
14
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
Certificate_Status_12(Handshake_IO &io, Handshake_Hash &hash, std::vector< uint8_t > raw_response_bytes)
Certificate_Status(const std::vector< uint8_t > &buf, Connection_Side from)
void update(const uint8_t in[], size_t length)
virtual std::vector< uint8_t > send(const Handshake_Message &msg)=0