multilog.proto 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. syntax = "proto3";
  15. package configpb;
  16. option go_package = "github.com/google/certificate-transparency-go/client/multilog/configpb";
  17. import "google/protobuf/timestamp.proto";
  18. // TemporalLogConfig is a set of LogShardConfig messages, whose
  19. // time limits should be contiguous.
  20. message TemporalLogConfig {
  21. repeated LogShardConfig shard = 1;
  22. }
  23. // LogShardConfig describes the acceptable date range for a single shard of a temporal
  24. // log.
  25. message LogShardConfig {
  26. string uri = 1;
  27. // The log's public key in DER-encoded PKIX form.
  28. bytes public_key_der = 2;
  29. // not_after_start defines the start of the range of acceptable NotAfter
  30. // values, inclusive.
  31. // Leaving this unset implies no lower bound to the range.
  32. google.protobuf.Timestamp not_after_start = 3;
  33. // not_after_limit defines the end of the range of acceptable NotAfter values,
  34. // exclusive.
  35. // Leaving this unset implies no upper bound to the range.
  36. google.protobuf.Timestamp not_after_limit = 4;
  37. }