proxygen
|
#include <TicketCodec.h>
Static Public Member Functions | |
static Buf | encode (ResumptionState state) |
static ResumptionState | decode (Buf encoded, const FizzServerContext *context) |
Static Public Attributes | |
static constexpr folly::StringPiece | Label {"Fizz Ticket Codec v2"} |
Definition at line 36 of file TicketCodec.h.
|
static |
Definition at line 47 of file TicketCodec-inl.h.
References fizz::server::FizzServerContext::getCert(), fizz::detail::read(), fizz::server::readClientCertificate(), and uint64_t.
|
static |
Definition at line 16 of file TicketCodec-inl.h.
References fizz::server::ResumptionState::alpn, fizz::server::appendClientCertificate(), fizz::server::ResumptionState::appToken, fizz::server::ResumptionState::cipher, fizz::server::ResumptionState::clientCert, folly::IOBuf::copyBuffer(), count, folly::IOBuf::create(), fizz::server::ResumptionState::resumptionSecret, fizz::server::ResumptionState::serverCert, fizz::server::ResumptionState::ticketAgeAdd, fizz::server::ResumptionState::ticketIssueTime, uint64_t, fizz::server::ResumptionState::version, and fizz::detail::write().
|
static |
This label can be used to derive the encryption key and should be changed whenever the encoding changes so previous tickets are invalidated.
Definition at line 41 of file TicketCodec.h.