multilog.proto 1.5 KB

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