9#ifndef BOTAN_TLS_SESSION_MANAGER_NOOP_H_
10#define BOTAN_TLS_SESSION_MANAGER_NOOP_H_
12#include <botan/tls_session_manager.h>
28 const std::optional<Session_ID>& session_id = std::nullopt,
29 bool tls12_no_ticket =
false)
override;
38 std::optional<Session> retrieve_one(
const Session_Handle& handle)
override;
40 std::vector<Session_with_Handle> find_some(
const Server_Information& info,
size_t max_sessions_hint)
override;
#define BOTAN_PUBLIC_API(maj, min)
Helper class to embody a session handle in all protocol versions.
size_t remove(const Session_Handle &) override
size_t remove_all() override
std::optional< Session_Handle > establish(const Session &session, const std::optional< Session_ID > &session_id=std::nullopt, bool tls12_no_ticket=false) override
Save a new Session and assign a Session_Handle (TLS Server).
void store(const Session &, const Session_Handle &) override
Save a Session under a Session_Handle (TLS Client).
BOTAN_FUTURE_EXPLICIT Session_Manager(const std::shared_ptr< RandomNumberGenerator > &rng)