proxygen
|
#include <FizzClientContext.h>
Private Attributes | |
std::unique_ptr< Factory > | factory_ |
std::vector< ProtocolVersion > | supportedVersions_ = {ProtocolVersion::tls_1_3} |
std::vector< CipherSuite > | supportedCiphers_ |
std::vector< SignatureScheme > | supportedSigSchemes_ |
std::vector< NamedGroup > | supportedGroups_ |
std::vector< NamedGroup > | defaultShares_ = {NamedGroup::x25519} |
std::vector< PskKeyExchangeMode > | supportedPskModes_ |
std::vector< std::string > | supportedAlpns_ |
bool | sendEarlyData_ {false} |
bool | compatMode_ {false} |
std::shared_ptr< PskCache > | pskCache_ |
std::shared_ptr< const SelfCert > | clientCert_ |
std::shared_ptr< CertDecompressionManager > | certDecompressionManager_ |
Definition at line 20 of file FizzClientContext.h.
|
inline |
Definition at line 22 of file FizzClientContext.h.
References ~FizzClientContext().
|
virtualdefault |
Referenced by FizzClientContext().
|
inline |
Given a compression algorithm, returns the decompressor to decompress certs. If the algorithm isn't found, returns nullptr.
Definition at line 198 of file FizzClientContext.h.
References certDecompressionManager_.
Referenced by fizz::sm::handleCertMsg().
|
inline |
Definition at line 108 of file FizzClientContext.h.
References clientCert_.
Referenced by fizz::sm::getClientCert().
|
inline |
Definition at line 158 of file FizzClientContext.h.
References compatMode_.
Referenced by fizz::sm::getHrrKeyExchangers(), fizz::sm::handleCertMsg(), and fizz::sm::handleEarlyAppWrite().
|
inline |
Definition at line 75 of file FizzClientContext.h.
References defaultShares_.
|
inline |
Definition at line 169 of file FizzClientContext.h.
References factory_.
Referenced by fizz::sm::getHrrKeyExchangers(), fizz::sm::getMaxEarlyDataSize(), fizz::sm::handleCertMsg(), and fizz::sm::negotiatePsk().
|
inline |
Definition at line 119 of file FizzClientContext.h.
References folly::none, and pskCache_.
|
inline |
Definition at line 146 of file FizzClientContext.h.
References sendEarlyData_.
Referenced by fizz::sm::getEarlyDataParams().
|
inline |
Definition at line 97 of file FizzClientContext.h.
References supportedAlpns_.
Referenced by fizz::sm::getEarlyDataParams(), fizz::sm::getHrrKeyExchangers(), and fizz::sm::validateAcceptedEarly().
|
inline |
Returns a vector representing the compression algorithms the manager has decompressors for.
Definition at line 186 of file FizzClientContext.h.
References certDecompressionManager_.
Referenced by fizz::sm::getHrrKeyExchangers(), and fizz::sm::handleCertMsg().
|
inline |
Definition at line 43 of file FizzClientContext.h.
References supportedCiphers_.
Referenced by fizz::sm::getHrrKeyExchangers(), fizz::sm::negotiatePsk(), and fizz::sm::validatePsk().
|
inline |
Definition at line 65 of file FizzClientContext.h.
References supportedGroups_.
Referenced by fizz::sm::getHrrKeyExchangers().
|
inline |
Definition at line 86 of file FizzClientContext.h.
References supportedPskModes_.
Referenced by fizz::sm::getHrrKeyExchangers(), and fizz::sm::negotiatePsk().
|
inline |
Definition at line 54 of file FizzClientContext.h.
References supportedSigSchemes_.
Referenced by fizz::sm::getClientCert(), fizz::sm::getHrrKeyExchangers(), fizz::client::AsyncFizzClientT< SM >::getSupportedSigSchemes(), and fizz::sm::handleCertMsg().
|
inline |
Definition at line 32 of file FizzClientContext.h.
References supportedVersions_.
Referenced by fizz::sm::getHrrKeyExchangers(), fizz::sm::negotiatePsk(), and fizz::sm::validatePsk().
|
inline |
Definition at line 127 of file FizzClientContext.h.
References folly::gen::move, and pskCache_.
|
inline |
Definition at line 133 of file FizzClientContext.h.
References pskCache_.
|
inline |
Sets the certificate decompression manager for server certs.
Definition at line 176 of file FizzClientContext.h.
References certDecompressionManager_.
|
inline |
Sets the certificate to use if the server requests client authentication
Definition at line 104 of file FizzClientContext.h.
References clientCert_, and folly::gen::move.
|
inline |
Sets whether we want to use compatibility mode (sending a fake session ID and ChangeCipherSpec).
Definition at line 154 of file FizzClientContext.h.
References compatMode_.
|
inline |
Set the default key shares to send. Must be a subset of supported groups.
Definition at line 72 of file FizzClientContext.h.
References defaultShares_, and folly::gen::move.
|
inline |
Set the factory to use. Should generally only be changed for testing.
Definition at line 165 of file FizzClientContext.h.
References factory_, and folly::gen::move.
|
inline |
Set the Psk Cache to use.
Definition at line 115 of file FizzClientContext.h.
References folly::gen::move, and pskCache_.
|
inline |
Sets whether we should attempt to send early data.
Definition at line 142 of file FizzClientContext.h.
References sendEarlyData_.
|
inline |
Sets the supported ALPN supported protocols, in preference order.
Definition at line 93 of file FizzClientContext.h.
References folly::gen::move, and supportedAlpns_.
|
inline |
Set the supported ciphers, in preference order.
Definition at line 39 of file FizzClientContext.h.
References folly::gen::move, and supportedCiphers_.
|
inline |
Set the supported named groups, in preference order.
Definition at line 61 of file FizzClientContext.h.
References folly::gen::move, and supportedGroups_.
|
inline |
Set the supported psk modes, in preference order.
Definition at line 82 of file FizzClientContext.h.
References folly::gen::move, and supportedPskModes_.
|
inline |
Set the supported signature schemes, in preference order.
Definition at line 50 of file FizzClientContext.h.
References folly::gen::move, and supportedSigSchemes_.
|
inline |
Set the supported protocol versions, in preference order.
Definition at line 28 of file FizzClientContext.h.
References folly::gen::move, and supportedVersions_.
|
private |
Definition at line 234 of file FizzClientContext.h.
Referenced by getCertDecompressorForAlgorithm(), getSupportedCertDecompressionAlgorithms(), and setCertDecompressionManager().
|
private |
Definition at line 233 of file FizzClientContext.h.
Referenced by getClientCertificate(), and setClientCertificate().
|
private |
Definition at line 230 of file FizzClientContext.h.
Referenced by getCompatibilityMode(), and setCompatibilityMode().
|
private |
Definition at line 223 of file FizzClientContext.h.
Referenced by getDefaultShares(), and setDefaultShares().
|
private |
Definition at line 208 of file FizzClientContext.h.
Referenced by getFactory(), and setFactory().
|
private |
Definition at line 232 of file FizzClientContext.h.
Referenced by getPsk(), putPsk(), removePsk(), and setPskCache().
|
private |
Definition at line 228 of file FizzClientContext.h.
Referenced by getSendEarlyData(), and setSendEarlyData().
|
private |
Definition at line 227 of file FizzClientContext.h.
Referenced by getSupportedAlpns(), and setSupportedAlpns().
|
private |
Definition at line 211 of file FizzClientContext.h.
Referenced by getSupportedCiphers(), and setSupportedCiphers().
|
private |
Definition at line 221 of file FizzClientContext.h.
Referenced by getSupportedGroups(), and setSupportedGroups().
|
private |
Definition at line 224 of file FizzClientContext.h.
Referenced by getSupportedPskModes(), and setSupportedPskModes().
|
private |
Definition at line 218 of file FizzClientContext.h.
Referenced by getSupportedSigSchemes(), and setSupportedSigSchemes().
|
private |
Definition at line 210 of file FizzClientContext.h.
Referenced by getSupportedVersions(), and setSupportedVersions().