#include "net/cert/ct_signed_certificate_timestamp_log_param.h"
#include <algorithm>
#include <memory>
#include <string_view>
#include <utility>
#include "base/base64.h"
#include "base/strings/string_number_conversions.h"
#include "base/values.h"
#include "net/cert/ct_sct_to_string.h"
#include "net/cert/signed_certificate_timestamp.h"
namespace net {
namespace {
void SetBinaryData(const char* key,
std::string_view value,
base::Value::Dict& dict) { … }
base::Value SCTToDictionary(const ct::SignedCertificateTimestamp& sct,
ct::SCTVerifyStatus status) { … }
base::Value::List SCTListToPrintableValues(
const SignedCertificateTimestampAndStatusList& sct_and_status_list) { … }
}
base::Value::Dict NetLogSignedCertificateTimestampParams(
const SignedCertificateTimestampAndStatusList* scts) { … }
base::Value::Dict NetLogRawSignedCertificateTimestampParams(
std::string_view embedded_scts,
std::string_view sct_list_from_ocsp,
std::string_view sct_list_from_tls_extension) { … }
}