|
proxygen
|
#include <fizz/client/AsyncFizzClient.h>#include <fizz/crypto/Utils.h>#include <fizz/crypto/aead/AESGCM128.h>#include <fizz/crypto/aead/OpenSSLEVPCipher.h>#include <fizz/server/AsyncFizzServer.h>#include <fizz/server/TicketTypes.h>#include <folly/String.h>#include <folly/io/async/AsyncSSLSocket.h>#include <folly/io/async/SSLContext.h>#include <folly/portability/GFlags.h>Go to the source code of this file.
Classes | |
| class | BogoTestServer |
| class | BogoTestClient |
| class | TestRsaCert |
| class | TestP256Cert |
Functions | |
| DEFINE_int32 (port, 0,"port to connect to") | |
| DEFINE_bool (server, false,"act as a server, otherwise act as a client") | |
| DEFINE_string (key_file,"","key file") | |
| DEFINE_string (cert_file,"","cert file") | |
| DEFINE_int32 (resume_count, 0,"number of additional connections to open") | |
| std::unique_ptr< SelfCert > | readSelfCert () |
| int | serverTest () |
| int | clientTest () |
| int | main (int argc, char **argv) |
Variables | |
| static constexpr int | kUnimplemented = 89 |
| static std::vector< std::string > | kKnownFlags |
| int clientTest | ( | ) |
Definition at line 335 of file BogoShim.cpp.
References folly::INFO, kUnimplemented, and readSelfCert().
Referenced by main().
| DEFINE_int32 | ( | port | , |
| 0 | , | ||
| "port to connect to" | |||
| ) |
| DEFINE_int32 | ( | resume_count | , |
| 0 | , | ||
| "number of additional connections to open" | |||
| ) |
| DEFINE_string | ( | key_file | , |
| "" | , | ||
| "key file" | |||
| ) |
| DEFINE_string | ( | cert_file | , |
| "" | , | ||
| "cert file" | |||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 362 of file BogoShim.cpp.
References clientTest(), i, folly::INFO, fizz::CryptoUtils::init(), kKnownFlags, kUnimplemented, serverTest(), and string.
| std::unique_ptr<SelfCert> readSelfCert | ( | ) |
Definition at line 266 of file BogoShim.cpp.
References b, and folly::gen::move.
Referenced by clientTest(), and serverTest().
| int serverTest | ( | ) |
Definition at line 297 of file BogoShim.cpp.
References i, folly::INFO, kUnimplemented, folly::EventBase::loop(), folly::gen::move, folly::gen::range(), and readSelfCert().
Referenced by main().
|
static |
Definition at line 34 of file BogoShim.cpp.
Referenced by main().
|
static |
Definition at line 32 of file BogoShim.cpp.
Referenced by clientTest(), main(), and serverTest().