proxygen
|
#include <TokenBindingClientExtension.h>
Public Member Functions | |
TokenBindingClientExtension (const std::shared_ptr< TokenBindingContext > &context) | |
std::vector< Extension > | getClientHelloExtensions () const override |
void | onEncryptedExtensions (const std::vector< Extension > &extensions) override |
const auto & | getVersion () |
const auto & | getNegotiatedKeyParam () |
Public Member Functions inherited from fizz::ClientExtensions | |
virtual | ~ClientExtensions ()=default |
Private Attributes | |
folly::Optional< TokenBindingProtocolVersion > | negotiatedVersion_ |
folly::Optional< TokenBindingKeyParameters > | negotiatedKeyParam_ |
std::shared_ptr< TokenBindingContext > | context_ |
Definition at line 19 of file TokenBindingClientExtension.h.
|
inlineexplicit |
Definition at line 21 of file TokenBindingClientExtension.h.
References getClientHelloExtensions(), and onEncryptedExtensions().
|
overridevirtual |
Returns a list of extensions to be added to the ClientHello. Note that this can be called multiple times on a single connection (if a HelloRetryRequest is received).
Implements fizz::ClientExtensions.
Definition at line 14 of file TokenBindingClientExtension.cpp.
References context_, fizz::encodeExtension(), fizz::extensions::TokenBindingParameters::key_parameters_list, and fizz::extensions::TokenBindingParameters::version.
Referenced by TokenBindingClientExtension().
|
inline |
Definition at line 33 of file TokenBindingClientExtension.h.
References negotiatedKeyParam_.
|
inline |
Definition at line 29 of file TokenBindingClientExtension.h.
References negotiatedVersion_.
|
overridevirtual |
Called with the extensions present in EncryptedExtensions.
Implements fizz::ClientExtensions.
Definition at line 28 of file TokenBindingClientExtension.cpp.
References context_, negotiatedKeyParam_, negotiatedVersion_, fizz::unsupported_extension, and version.
Referenced by TokenBindingClientExtension().
|
private |
Definition at line 40 of file TokenBindingClientExtension.h.
Referenced by getClientHelloExtensions(), and onEncryptedExtensions().
|
private |
Definition at line 39 of file TokenBindingClientExtension.h.
Referenced by getNegotiatedKeyParam(), and onEncryptedExtensions().
|
private |
Definition at line 38 of file TokenBindingClientExtension.h.
Referenced by getVersion(), and onEncryptedExtensions().