// Copyright (c) 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Dumps the contents of a QUIC crypto handshake message in a human readable // format. // // Usage: crypto_message_printer_bin <hex of message> #include <iostream> #include <string> #include <vector> #include "absl/strings/escaping.h" #include "quiche/quic/core/crypto/crypto_framer.h" #include "quiche/quic/core/quic_utils.h" #include "quiche/common/platform/api/quiche_command_line_flags.h" cerr; cout; endl; namespace quic { class CryptoMessagePrinter : public ::quic::CryptoFramerVisitorInterface { … }; } // namespace quic int main(int argc, char* argv[]) { … }