merkle_consistency_proof.cc 674 B

1234567891011121314151617181920212223
  1. // Copyright 2015 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "net/cert/merkle_consistency_proof.h"
  5. namespace net::ct {
  6. MerkleConsistencyProof::MerkleConsistencyProof() = default;
  7. MerkleConsistencyProof::MerkleConsistencyProof(
  8. const std::string& log_id,
  9. const std::vector<std::string>& proof_nodes,
  10. uint64_t old_size,
  11. uint64_t new_size)
  12. : log_id(log_id),
  13. nodes(proof_nodes),
  14. first_tree_size(old_size),
  15. second_tree_size(new_size) {}
  16. MerkleConsistencyProof::~MerkleConsistencyProof() = default;
  17. } // namespace net::ct