...

Text file src/github.com/google/certificate-transparency-go/client/configpb/multilog.proto

Documentation: github.com/google/certificate-transparency-go/client/configpb

     1// Copyright 2017 Google LLC. All Rights Reserved.
     2//
     3// Licensed under the Apache License, Version 2.0 (the "License");
     4// you may not use this file except in compliance with the License.
     5// You may obtain a copy of the License at
     6//
     7//     http://www.apache.org/licenses/LICENSE-2.0
     8//
     9// Unless required by applicable law or agreed to in writing, software
    10// distributed under the License is distributed on an "AS IS" BASIS,
    11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12// See the License for the specific language governing permissions and
    13// limitations under the License.
    14
    15syntax = "proto3";
    16
    17package configpb;
    18
    19option go_package = "github.com/google/certificate-transparency-go/client/multilog/configpb";
    20
    21import "google/protobuf/timestamp.proto";
    22
    23// TemporalLogConfig is a set of LogShardConfig messages, whose
    24// time limits should be contiguous.
    25message TemporalLogConfig {
    26  repeated LogShardConfig shard = 1;
    27}
    28
    29// LogShardConfig describes the acceptable date range for a single shard of a temporal
    30// log.
    31message LogShardConfig {
    32  string uri = 1;
    33
    34  // The log's public key in DER-encoded PKIX form.
    35  bytes public_key_der = 2;
    36
    37  // not_after_start defines the start of the range of acceptable NotAfter
    38  // values, inclusive.
    39  // Leaving this unset implies no lower bound to the range.
    40  google.protobuf.Timestamp not_after_start = 3;
    41  // not_after_limit defines the end of the range of acceptable NotAfter values,
    42  // exclusive.
    43  // Leaving this unset implies no upper bound to the range.
    44  google.protobuf.Timestamp not_after_limit = 4;
    45}

View as plain text