35 PskIdentity(std::vector<uint8_t> identity,
const uint32_t obfuscated_age) :
36 m_identity(std::move(identity)), m_obfuscated_age(obfuscated_age) {}
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;