9#ifndef BOTAN_TLS_13_TICKET_H_
10#define BOTAN_TLS_13_TICKET_H_
12#include <botan/tls_external_psk.h>
13#include <botan/tls_session.h>
14#include <botan/types.h>
48 const std::vector<uint8_t>&
identity()
const {
return m_identity; }
50 std::string identity_as_string()
const;
58 std::chrono::milliseconds age(uint32_t ticket_age_add)
const;
63 std::vector<uint8_t> m_identity;
64 uint32_t m_obfuscated_age;
#define BOTAN_PUBLIC_API(maj, min)
#define BOTAN_DEPRECATED(msg)
PskIdentity(std::vector< uint8_t > identity, const uint32_t obfuscated_age)
uint32_t obfuscated_age() const
const std::vector< uint8_t > & identity() const
Strong< std::string, struct PresharedKeyID_ > PresharedKeyID
holds a PSK identity as used in TLS 1.3
Strong< std::vector< uint8_t >, struct Opaque_Session_Handle_ > Opaque_Session_Handle
holds an opaque session handle as used in TLS 1.3 that could be either a ticket for stateless resumpt...