proxygen
Types.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-present, Facebook, Inc.
3  * All rights reserved.
4  *
5  * This source code is licensed under the BSD-style license found in the
6  * LICENSE file in the root directory of this source tree.
7  */
8 
9 #pragma once
10 
11 #include <fizz/record/Types.h>
12 #include <folly/Range.h>
13 
14 namespace fizz {
15 
16 enum class HashFunction { Sha256, Sha384 };
17 
18 enum class PskType {
21  Rejected,
22  External,
24 };
25 
30 
32 
34 
36 size_t getHashSize(HashFunction hash);
37 
42 } // namespace fizz
folly::StringPiece toString(StateEnum state)
Definition: State.cpp:16
EarlyDataType
Definition: Types.h:33
size_t getHashSize(HashFunction hash)
Definition: Types.cpp:25
CipherSuite
Definition: Types.h:153
CipherSuite cipher
HashFunction getHashFunction(CipherSuite cipher)
Definition: Types.cpp:13
HashFunction
Definition: Types.h:16
EncryptionLevel
Definition: Types.h:29
Definition: Actions.h:16
PskType
Definition: Types.h:18
KeyExchangeType
Definition: Types.h:31