// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/tools/transport_security_state_generator/spki_hash.h" #include <string> #include <string_view> #include "base/base64.h" #include "base/strings/string_util.h" #include "third_party/boringssl/src/include/openssl/sha.h" namespace net::transport_security_state { SPKIHash::SPKIHash() = default; SPKIHash::~SPKIHash() = default; bool SPKIHash::FromString(std::string_view hash_string) { … } void SPKIHash::CalculateFromBytes(const uint8_t* input, size_t input_length) { … } } // namespace net::transport_security_state