proxygen
|
#include <FizzServerContext.h>
Private Attributes | |
std::unique_ptr< Factory > | factory_ |
std::shared_ptr< TicketCipher > | ticketCipher_ |
std::shared_ptr< CookieCipher > | cookieCipher_ |
std::unique_ptr< CertManager > | certManager_ |
std::shared_ptr< const CertificateVerifier > | clientCertVerifier_ |
std::vector< ProtocolVersion > | supportedVersions_ = {ProtocolVersion::tls_1_3} |
std::vector< std::vector< CipherSuite > > | supportedCiphers_ |
std::vector< SignatureScheme > | supportedSigSchemes_ |
std::vector< NamedGroup > | supportedGroups_ |
std::vector< PskKeyExchangeMode > | supportedPskModes_ |
std::vector< std::string > | supportedAlpns_ |
bool | versionFallbackEnabled_ {false} |
ClientAuthMode | clientAuthMode_ {ClientAuthMode::None} |
bool | acceptEarlyData_ {false} |
uint32_t | maxEarlyDataSize_ {std::numeric_limits<uint32_t>::max()} |
ClockSkewTolerance | clockSkewTolerance_ |
std::shared_ptr< ReplayCache > | replayCache_ |
std::vector< CertificateCompressionAlgorithm > | supportedCompressionAlgos_ |
bool | earlyDataFbOnly_ {false} |
bool | sendNewSessionTicket_ {true} |
Definition at line 45 of file FizzServerContext.h.
|
inline |
Definition at line 47 of file FizzServerContext.h.
|
virtualdefault |
|
inline |
Definition at line 218 of file FizzServerContext.h.
References fizz::tls_1_3_20_fb, fizz::tls_1_3_21_fb, fizz::tls_1_3_22_fb, fizz::tls_1_3_23_fb, and fizz::tls_1_3_26_fb.
Referenced by fizz::sm::getCertificateRequest(), and fizz::sm::writeNewSessionTicket().
|
inline |
Chooses a certificate based on given sni and peer signature schemes.
Definition at line 192 of file FizzServerContext.h.
Referenced by fizz::sm::chooseCert(), and fizz::server::TicketCodec< Storage >::decode().
|
inline |
Return a certificate that matches identity. Will return nullptr if a matching certificate is not found.
Definition at line 202 of file FizzServerContext.h.
|
inline |
Definition at line 107 of file FizzServerContext.h.
Referenced by fizz::sm::generateTicket(), and fizz::sm::getCertificateRequest().
|
inline |
Definition at line 183 of file FizzServerContext.h.
Referenced by fizz::sm::generateTicket(), and fizz::sm::getCertificateRequest().
|
inline |
Definition at line 229 of file FizzServerContext.h.
Referenced by fizz::sm::getCertificateRequest().
|
inline |
Definition at line 164 of file FizzServerContext.h.
Referenced by fizz::sm::getCertificateRequest().
|
inline |
Definition at line 258 of file FizzServerContext.h.
Referenced by fizz::sm::generateTicket(), and fizz::sm::getCertificateRequest().
|
inline |
Definition at line 248 of file FizzServerContext.h.
Referenced by fizz::sm::writeNewSessionTicket().
|
inline |
Definition at line 232 of file FizzServerContext.h.
Referenced by fizz::sm::getCertificateRequest().
|
inline |
Definition at line 272 of file FizzServerContext.h.
Referenced by fizz::sm::generateTicket().
|
inline |
Definition at line 66 of file FizzServerContext.h.
Referenced by fizz::sm::getCertificateRequest().
|
inline |
Definition at line 285 of file FizzServerContext.h.
Referenced by fizz::sm::getCertificate().
|
inline |
Definition at line 86 of file FizzServerContext.h.
Referenced by fizz::sm::getCertificateRequest().
|
inline |
Definition at line 96 of file FizzServerContext.h.
Referenced by fizz::sm::getCertificateRequest().
|
inline |
Definition at line 76 of file FizzServerContext.h.
Referenced by fizz::sm::generateTicket(), fizz::sm::getCertificateRequest(), and fizz::server::AsyncFizzServerT< SM >::getSupportedSigSchemes().
|
inline |
Definition at line 56 of file FizzServerContext.h.
Referenced by fizz::sm::getCertificateRequest().
|
inline |
Definition at line 153 of file FizzServerContext.h.
Referenced by fizz::sm::generateTicket(), and fizz::sm::getCertificateRequest().
|
inline |
Definition at line 119 of file FizzServerContext.h.
Referenced by fizz::sm::getCertificateRequest().
|
inline |
Negotaitate a ALPN protocol given a client's offer. zeroRttAlpn will be set to the protocol used for early data if sent by the client.
Definition at line 134 of file FizzServerContext.h.
References fizz::server::negotiate().
Referenced by fizz::sm::negotiateAlpn().
|
inline |
Sets the CertManager to use.
Definition at line 171 of file FizzServerContext.h.
References folly::gen::move.
|
inline |
Set whether to request client authentication.
Definition at line 103 of file FizzServerContext.h.
|
inline |
Sets the certificate verifier to use for client authentication
Definition at line 178 of file FizzServerContext.h.
References folly::gen::move.
|
inline |
Sets the cookie cipher to use. Stateless client retries will be rejected if not set.
Definition at line 161 of file FizzServerContext.h.
References folly::gen::move.
|
inline |
Definition at line 236 of file FizzServerContext.h.
|
inline |
Sets the early data settings.
Definition at line 209 of file FizzServerContext.h.
|
inline |
Set the factory to use. Should generally only be changed for testing.
Definition at line 255 of file FizzServerContext.h.
References folly::gen::move.
|
inline |
Sets the max_early_data_size to advertise when sending early data compatible tickets. This limit is currently not enforced when accepting early data.
Definition at line 245 of file FizzServerContext.h.
|
inline |
Fizz will automatically send NewSessionTicket before reporting handshake success if this is true. Application can use the writeNewSessionTicket API alternatively if this is set to false. Default is true.
Definition at line 269 of file FizzServerContext.h.
|
inline |
Sets the supported ALPN supported protocols, in preference order.
Definition at line 126 of file FizzServerContext.h.
References folly::gen::move.
|
inline |
Set the supported ciphers, in preference order.
Definition at line 63 of file FizzServerContext.h.
References folly::gen::move.
|
inline |
Set supported cert compression algorithms. Note: It is expected that any certificate used has been initialized with compressors corresponding to the algorithms set here.
Definition at line 281 of file FizzServerContext.h.
|
inline |
Set the supported named groups, in preference order.
Definition at line 83 of file FizzServerContext.h.
References folly::gen::move.
|
inline |
Set the supported psk modes, in preference order.
Definition at line 93 of file FizzServerContext.h.
References folly::gen::move.
|
inline |
Set the supported signature schemes, in preference order.
Definition at line 73 of file FizzServerContext.h.
References folly::gen::move.
|
inline |
Set the supported protocol versions, in preference order.
Definition at line 53 of file FizzServerContext.h.
References folly::gen::move.
|
inline |
Sets the ticket cipher to use. Resumption will be disabled if not set.
Definition at line 150 of file FizzServerContext.h.
References folly::gen::move.
Referenced by wangle::Acceptor::updateFizzContext().
|
inline |
Set whether to attempt fallback to another implementation if no supported version match is found. If enabled connect callbacks should implement fizzHandshakeAttemptFallback.
Definition at line 116 of file FizzServerContext.h.
|
private |
Definition at line 321 of file FizzServerContext.h.
|
private |
Definition at line 295 of file FizzServerContext.h.
|
private |
Definition at line 319 of file FizzServerContext.h.
|
private |
Definition at line 296 of file FizzServerContext.h.
|
private |
Definition at line 323 of file FizzServerContext.h.
|
private |
Definition at line 293 of file FizzServerContext.h.
|
private |
Definition at line 328 of file FizzServerContext.h.
|
private |
Definition at line 290 of file FizzServerContext.h.
|
private |
Definition at line 322 of file FizzServerContext.h.
|
private |
Definition at line 324 of file FizzServerContext.h.
|
private |
Definition at line 330 of file FizzServerContext.h.
|
private |
Definition at line 316 of file FizzServerContext.h.
|
private |
Definition at line 299 of file FizzServerContext.h.
|
private |
Definition at line 326 of file FizzServerContext.h.
|
private |
Definition at line 311 of file FizzServerContext.h.
|
private |
Definition at line 313 of file FizzServerContext.h.
|
private |
Definition at line 308 of file FizzServerContext.h.
|
private |
Definition at line 298 of file FizzServerContext.h.
|
private |
Definition at line 292 of file FizzServerContext.h.
|
private |
Definition at line 318 of file FizzServerContext.h.