#include "net/cert/merkle_tree_leaf.h"
#include "crypto/sha2.h"
#include "net/cert/ct_objects_extractor.h"
#include "net/cert/ct_serialization.h"
#include "net/cert/x509_certificate.h"
namespace net::ct {
MerkleTreeLeaf::MerkleTreeLeaf() = default;
MerkleTreeLeaf::MerkleTreeLeaf(const MerkleTreeLeaf& other) = default;
MerkleTreeLeaf::MerkleTreeLeaf(MerkleTreeLeaf&&) = default;
MerkleTreeLeaf::~MerkleTreeLeaf() = default;
bool HashMerkleTreeLeaf(const MerkleTreeLeaf& tree_leaf, std::string* out) { … }
bool GetMerkleTreeLeaf(const X509Certificate* cert,
const SignedCertificateTimestamp* sct,
MerkleTreeLeaf* merkle_tree_leaf) { … }
}