24 std::unique_ptr<TicketCipher>
cipher,
25 std::unique_ptr<TicketCipher> fallbackCipher)
30 std::pair<std::unique_ptr<folly::IOBuf>, std::chrono::seconds>>>
36 std::unique_ptr<folly::IOBuf> encryptedTicket)
const override {
37 auto bufClone = encryptedTicket->
clone();
DualTicketCipher(std::unique_ptr< TicketCipher > cipher, std::unique_ptr< TicketCipher > fallbackCipher)
constexpr detail::Map< Move > move
folly::Future< folly::Optional< std::pair< std::unique_ptr< folly::IOBuf >, std::chrono::seconds > > > encrypt(ResumptionState resState) const override
std::unique_ptr< IOBuf > clone() const
static constexpr StringPiece ticket
std::unique_ptr< TicketCipher > fallbackCipher_
folly::Future< std::pair< PskType, folly::Optional< ResumptionState > > > decrypt(std::unique_ptr< folly::IOBuf > encryptedTicket) const override
std::unique_ptr< TicketCipher > cipher_
Future< typename std::decay< T >::type > makeFuture(T &&t)