proxygen
Types.h File Reference
#include <fizz/record/Types.h>
#include <folly/Range.h>

Go to the source code of this file.

Namespaces

 fizz
 

Enumerations

enum  fizz::HashFunction { fizz::HashFunction::Sha256, fizz::HashFunction::Sha384 }
 
enum  fizz::PskType {
  fizz::PskType::NotSupported, fizz::PskType::NotAttempted, fizz::PskType::Rejected, fizz::PskType::External,
  fizz::PskType::Resumption
}
 
enum  fizz::EncryptionLevel { fizz::EncryptionLevel::Plaintext, fizz::EncryptionLevel::Handshake, fizz::EncryptionLevel::EarlyData, fizz::EncryptionLevel::AppTraffic }
 
enum  fizz::KeyExchangeType { fizz::KeyExchangeType::None, fizz::KeyExchangeType::OneRtt, fizz::KeyExchangeType::HelloRetryRequest }
 
enum  fizz::EarlyDataType { fizz::EarlyDataType::NotAttempted, fizz::EarlyDataType::Attempted, fizz::EarlyDataType::Rejected, fizz::EarlyDataType::Accepted }
 

Functions

HashFunction fizz::getHashFunction (CipherSuite cipher)
 
size_t fizz::getHashSize (HashFunction hash)
 
folly::StringPiece fizz::toString (HashFunction hash)
 
folly::StringPiece fizz::toString (PskType pskType)
 
folly::StringPiece fizz::toString (KeyExchangeType kexType)
 
folly::StringPiece fizz::toString (EarlyDataType earlyDataType)