9#ifndef BOTAN_SECURE_QUEUE_H_
10#define BOTAN_SECURE_QUEUE_H_
12#include <botan/data_src.h>
13#include <botan/filter.h>
23 std::string
name()
const override {
return "Queue"; }
25 void write(
const uint8_t[],
size_t)
override;
27 size_t read(uint8_t[],
size_t)
override;
28 size_t peek(uint8_t[],
size_t,
size_t = 0)
const override;
29 size_t get_bytes_read()
const override;
31 bool end_of_data()
const override;
69 class SecureQueueNode* m_head;
70 class SecureQueueNode* m_tail;
SecureQueue & operator=(SecureQueue &&other)=delete
bool check_available(size_t n) override
std::string name() const override
SecureQueue(SecureQueue &&other)=delete
bool attachable() override
int(* final)(unsigned char *, CTX *)