#include "net/cert/signed_tree_head.h"
#include <string.h>
#include <ostream>
#include "base/strings/string_number_conversions.h"
namespace net::ct {
SignedTreeHead::SignedTreeHead() = default;
SignedTreeHead::SignedTreeHead(Version version,
const base::Time& timestamp,
uint64_t tree_size,
const char sha256_root_hash[kSthRootHashLength],
const DigitallySigned& signature,
const std::string& log_id)
: … { … }
SignedTreeHead::SignedTreeHead(const SignedTreeHead& other) = default;
SignedTreeHead::~SignedTreeHead() = default;
void PrintTo(const SignedTreeHead& sth, std::ostream* os) { … }
bool operator==(const SignedTreeHead& lhs, const SignedTreeHead& rhs) { … }
bool operator!=(const SignedTreeHead& lhs, const SignedTreeHead& rhs) { … }
}