naiveproxy/services/network/public/mojom/ct_log_info.mojom
2018-08-11 05:35:24 +00:00

23 lines
790 B
Plaintext

// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
module network.mojom;
// A single Certificate Transparency Log configuration.
struct CTLogInfo {
// The DER-encoded SubjectPublicKeyInfo of the log.
// TODO(rsleevi): Convert this to array<uint8> when net::CTLogVerifier uses
// base::span<>
string public_key;
// The human-readable, log-supplied log name. Note that this will not be
// translated.
string name;
// The DNS API endpoint for the log.
// This will be used as the parent domain for all queries about the log.
// See https://github.com/google/certificate-transparency-rfcs/blob/master/dns/draft-ct-over-dns.md
string dns_api_endpoint;
};