proxygen
|
#include <Protocol.h>
Static Public Member Functions | |
template<typename Type > | |
static void | setAead (Type &recordLayer, CipherSuite cipher, folly::ByteRange secret, const Factory &factory, const KeyScheduler &scheduler) |
static Buf | getFinished (folly::ByteRange handshakeWriteSecret, HandshakeContext &handshakeContext) |
static Buf | getKeyUpdated (KeyUpdateRequest request_update) |
static void | checkAllowedExtensions (const EncryptedExtensions &ee, const std::vector< ExtensionType > &requestedExtensions) |
static void | checkAllowedExtensions (const ServerHello &shlo, const std::vector< ExtensionType > &requestedExtensions) |
static void | checkAllowedExtensions (const HelloRetryRequest &hrr) |
static void | checkDuplicateExtensions (const std::vector< Extension > &exts) |
Definition at line 17 of file Protocol.h.
|
inlinestatic |
Definition at line 50 of file Protocol.h.
References checkDuplicateExtensions(), fizz::cookie, fizz::EncryptedExtensions::extensions, fizz::illegal_parameter, fizz::key_share, fizz::key_share_old, fizz::pre_shared_key, fizz::psk_key_exchange_modes, fizz::signature_algorithms, fizz::supported_versions, and fizz::toString().
Referenced by fizz::sm::getHrrKeyExchangers(), fizz::sm::negotiatePsk(), and fizz::sm::validateAcceptedEarly().
|
inlinestatic |
Definition at line 81 of file Protocol.h.
References checkDuplicateExtensions(), fizz::ServerHello::extensions, fizz::illegal_parameter, fizz::key_share, fizz::key_share_old, fizz::pre_shared_key, fizz::supported_versions, and fizz::toString().
|
inlinestatic |
Definition at line 101 of file Protocol.h.
References checkDuplicateExtensions(), fizz::cookie, fizz::HelloRetryRequest::extensions, fizz::illegal_parameter, fizz::key_share, fizz::key_share_old, fizz::supported_versions, and fizz::toString().
|
inlinestatic |
Definition at line 117 of file Protocol.h.
References fizz::illegal_parameter.
Referenced by checkAllowedExtensions(), and fizz::sm::validateClientHello().
|
inlinestatic |
Definition at line 33 of file Protocol.h.
References fizz::HandshakeContext::appendToTranscript(), fizz::encodeHandshake(), fizz::finished, fizz::HandshakeContext::getFinishedData(), folly::gen::move, and fizz::Finished::verify_data.
Referenced by fizz::sm::getCertificateRequest(), and fizz::sm::handleCertMsg().
|
inlinestatic |
Definition at line 44 of file Protocol.h.
References fizz::encodeHandshake(), folly::gen::move, and fizz::KeyUpdate::request_update.
Referenced by fizz::sm::generateTicket(), and fizz::sm::getMaxEarlyDataSize().
|
inlinestatic |
Definition at line 20 of file Protocol.h.
References fizz::KeyScheduler::getTrafficKey(), fizz::Factory::makeAead(), and folly::gen::move.
Referenced by fizz::sm::generateTicket(), fizz::sm::getCertificateRequest(), fizz::sm::getEarlyDataParams(), fizz::sm::getMaxEarlyDataSize(), fizz::sm::handleCertMsg(), and fizz::sm::negotiatePsk().