30 std::unique_ptr<fizz::server::CertManager> certMgr =
nullptr);
33 template <
class TicketCipher>
35 const std::vector<std::string>& oldSecrets,
36 const std::vector<std::string>& currentSecrets,
37 const std::vector<std::string>& newSecrets,
38 std::chrono::seconds validity,
40 if (currentSecrets.empty()) {
41 return fizz::FizzUtil::createTicketCipher<TicketCipher>(
42 oldSecrets,
"", newSecrets, validity,
std::move(pskContext));
44 return fizz::FizzUtil::createTicketCipher<TicketCipher>(
static std::unique_ptr< TicketCipher > createTicketCipher(const std::vector< std::string > &oldSecrets, const std::vector< std::string > ¤tSecrets, const std::vector< std::string > &newSecrets, std::chrono::seconds validity, folly::Optional< std::string > pskContext)
constexpr detail::Map< Move > move
static std::shared_ptr< fizz::server::FizzServerContext > createFizzContext(const wangle::ServerSocketConfig &config, std::unique_ptr< fizz::server::CertManager > certMgr=nullptr)