1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package configpb
22
23 import (
24 keyspb "github.com/google/trillian/crypto/keyspb"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 anypb "google.golang.org/protobuf/types/known/anypb"
28 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
29 reflect "reflect"
30 sync "sync"
31 )
32
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 type LogBackend struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45
46 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
47
48
49
50 BackendSpec string `protobuf:"bytes,2,opt,name=backend_spec,json=backendSpec,proto3" json:"backend_spec,omitempty"`
51 }
52
53 func (x *LogBackend) Reset() {
54 *x = LogBackend{}
55 if protoimpl.UnsafeEnabled {
56 mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[0]
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 ms.StoreMessageInfo(mi)
59 }
60 }
61
62 func (x *LogBackend) String() string {
63 return protoimpl.X.MessageStringOf(x)
64 }
65
66 func (*LogBackend) ProtoMessage() {}
67
68 func (x *LogBackend) ProtoReflect() protoreflect.Message {
69 mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[0]
70 if protoimpl.UnsafeEnabled && x != nil {
71 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
72 if ms.LoadMessageInfo() == nil {
73 ms.StoreMessageInfo(mi)
74 }
75 return ms
76 }
77 return mi.MessageOf(x)
78 }
79
80
81 func (*LogBackend) Descriptor() ([]byte, []int) {
82 return file_trillian_ctfe_configpb_config_proto_rawDescGZIP(), []int{0}
83 }
84
85 func (x *LogBackend) GetName() string {
86 if x != nil {
87 return x.Name
88 }
89 return ""
90 }
91
92 func (x *LogBackend) GetBackendSpec() string {
93 if x != nil {
94 return x.BackendSpec
95 }
96 return ""
97 }
98
99
100
101
102 type LogBackendSet struct {
103 state protoimpl.MessageState
104 sizeCache protoimpl.SizeCache
105 unknownFields protoimpl.UnknownFields
106
107 Backend []*LogBackend `protobuf:"bytes,1,rep,name=backend,proto3" json:"backend,omitempty"`
108 }
109
110 func (x *LogBackendSet) Reset() {
111 *x = LogBackendSet{}
112 if protoimpl.UnsafeEnabled {
113 mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[1]
114 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
115 ms.StoreMessageInfo(mi)
116 }
117 }
118
119 func (x *LogBackendSet) String() string {
120 return protoimpl.X.MessageStringOf(x)
121 }
122
123 func (*LogBackendSet) ProtoMessage() {}
124
125 func (x *LogBackendSet) ProtoReflect() protoreflect.Message {
126 mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[1]
127 if protoimpl.UnsafeEnabled && x != nil {
128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
129 if ms.LoadMessageInfo() == nil {
130 ms.StoreMessageInfo(mi)
131 }
132 return ms
133 }
134 return mi.MessageOf(x)
135 }
136
137
138 func (*LogBackendSet) Descriptor() ([]byte, []int) {
139 return file_trillian_ctfe_configpb_config_proto_rawDescGZIP(), []int{1}
140 }
141
142 func (x *LogBackendSet) GetBackend() []*LogBackend {
143 if x != nil {
144 return x.Backend
145 }
146 return nil
147 }
148
149
150 type LogConfigSet struct {
151 state protoimpl.MessageState
152 sizeCache protoimpl.SizeCache
153 unknownFields protoimpl.UnknownFields
154
155 Config []*LogConfig `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty"`
156 }
157
158 func (x *LogConfigSet) Reset() {
159 *x = LogConfigSet{}
160 if protoimpl.UnsafeEnabled {
161 mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[2]
162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
163 ms.StoreMessageInfo(mi)
164 }
165 }
166
167 func (x *LogConfigSet) String() string {
168 return protoimpl.X.MessageStringOf(x)
169 }
170
171 func (*LogConfigSet) ProtoMessage() {}
172
173 func (x *LogConfigSet) ProtoReflect() protoreflect.Message {
174 mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[2]
175 if protoimpl.UnsafeEnabled && x != nil {
176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
177 if ms.LoadMessageInfo() == nil {
178 ms.StoreMessageInfo(mi)
179 }
180 return ms
181 }
182 return mi.MessageOf(x)
183 }
184
185
186 func (*LogConfigSet) Descriptor() ([]byte, []int) {
187 return file_trillian_ctfe_configpb_config_proto_rawDescGZIP(), []int{2}
188 }
189
190 func (x *LogConfigSet) GetConfig() []*LogConfig {
191 if x != nil {
192 return x.Config
193 }
194 return nil
195 }
196
197
198
199
200 type LogConfig struct {
201 state protoimpl.MessageState
202 sizeCache protoimpl.SizeCache
203 unknownFields protoimpl.UnknownFields
204
205
206
207
208
209 LogId int64 `protobuf:"varint,1,opt,name=log_id,json=logId,proto3" json:"log_id,omitempty"`
210
211
212
213
214
215 Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
216
217
218
219
220
221
222 OverrideHandlerPrefix string `protobuf:"bytes,13,opt,name=override_handler_prefix,json=overrideHandlerPrefix,proto3" json:"override_handler_prefix,omitempty"`
223
224
225 RootsPemFile []string `protobuf:"bytes,3,rep,name=roots_pem_file,json=rootsPemFile,proto3" json:"roots_pem_file,omitempty"`
226
227 PrivateKey *anypb.Any `protobuf:"bytes,4,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
228
229
230
231 PublicKey *keyspb.PublicKey `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
232
233
234
235 RejectExpired bool `protobuf:"varint,6,opt,name=reject_expired,json=rejectExpired,proto3" json:"reject_expired,omitempty"`
236
237
238 RejectUnexpired bool `protobuf:"varint,17,opt,name=reject_unexpired,json=rejectUnexpired,proto3" json:"reject_unexpired,omitempty"`
239
240
241
242 ExtKeyUsages []string `protobuf:"bytes,7,rep,name=ext_key_usages,json=extKeyUsages,proto3" json:"ext_key_usages,omitempty"`
243
244
245
246 NotAfterStart *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=not_after_start,json=notAfterStart,proto3" json:"not_after_start,omitempty"`
247
248
249
250 NotAfterLimit *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=not_after_limit,json=notAfterLimit,proto3" json:"not_after_limit,omitempty"`
251
252
253 AcceptOnlyCa bool `protobuf:"varint,10,opt,name=accept_only_ca,json=acceptOnlyCa,proto3" json:"accept_only_ca,omitempty"`
254
255
256 LogBackendName string `protobuf:"bytes,11,opt,name=log_backend_name,json=logBackendName,proto3" json:"log_backend_name,omitempty"`
257
258
259
260
261
262
263 IsMirror bool `protobuf:"varint,12,opt,name=is_mirror,json=isMirror,proto3" json:"is_mirror,omitempty"`
264
265
266 IsReadonly bool `protobuf:"varint,19,opt,name=is_readonly,json=isReadonly,proto3" json:"is_readonly,omitempty"`
267
268
269
270 MaxMergeDelaySec int32 `protobuf:"varint,14,opt,name=max_merge_delay_sec,json=maxMergeDelaySec,proto3" json:"max_merge_delay_sec,omitempty"`
271
272
273
274
275
276
277
278 ExpectedMergeDelaySec int32 `protobuf:"varint,15,opt,name=expected_merge_delay_sec,json=expectedMergeDelaySec,proto3" json:"expected_merge_delay_sec,omitempty"`
279
280
281
282 FrozenSth *SignedTreeHead `protobuf:"bytes,16,opt,name=frozen_sth,json=frozenSth,proto3" json:"frozen_sth,omitempty"`
283
284
285 RejectExtensions []string `protobuf:"bytes,18,rep,name=reject_extensions,json=rejectExtensions,proto3" json:"reject_extensions,omitempty"`
286 }
287
288 func (x *LogConfig) Reset() {
289 *x = LogConfig{}
290 if protoimpl.UnsafeEnabled {
291 mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[3]
292 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
293 ms.StoreMessageInfo(mi)
294 }
295 }
296
297 func (x *LogConfig) String() string {
298 return protoimpl.X.MessageStringOf(x)
299 }
300
301 func (*LogConfig) ProtoMessage() {}
302
303 func (x *LogConfig) ProtoReflect() protoreflect.Message {
304 mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[3]
305 if protoimpl.UnsafeEnabled && x != nil {
306 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
307 if ms.LoadMessageInfo() == nil {
308 ms.StoreMessageInfo(mi)
309 }
310 return ms
311 }
312 return mi.MessageOf(x)
313 }
314
315
316 func (*LogConfig) Descriptor() ([]byte, []int) {
317 return file_trillian_ctfe_configpb_config_proto_rawDescGZIP(), []int{3}
318 }
319
320 func (x *LogConfig) GetLogId() int64 {
321 if x != nil {
322 return x.LogId
323 }
324 return 0
325 }
326
327 func (x *LogConfig) GetPrefix() string {
328 if x != nil {
329 return x.Prefix
330 }
331 return ""
332 }
333
334 func (x *LogConfig) GetOverrideHandlerPrefix() string {
335 if x != nil {
336 return x.OverrideHandlerPrefix
337 }
338 return ""
339 }
340
341 func (x *LogConfig) GetRootsPemFile() []string {
342 if x != nil {
343 return x.RootsPemFile
344 }
345 return nil
346 }
347
348 func (x *LogConfig) GetPrivateKey() *anypb.Any {
349 if x != nil {
350 return x.PrivateKey
351 }
352 return nil
353 }
354
355 func (x *LogConfig) GetPublicKey() *keyspb.PublicKey {
356 if x != nil {
357 return x.PublicKey
358 }
359 return nil
360 }
361
362 func (x *LogConfig) GetRejectExpired() bool {
363 if x != nil {
364 return x.RejectExpired
365 }
366 return false
367 }
368
369 func (x *LogConfig) GetRejectUnexpired() bool {
370 if x != nil {
371 return x.RejectUnexpired
372 }
373 return false
374 }
375
376 func (x *LogConfig) GetExtKeyUsages() []string {
377 if x != nil {
378 return x.ExtKeyUsages
379 }
380 return nil
381 }
382
383 func (x *LogConfig) GetNotAfterStart() *timestamppb.Timestamp {
384 if x != nil {
385 return x.NotAfterStart
386 }
387 return nil
388 }
389
390 func (x *LogConfig) GetNotAfterLimit() *timestamppb.Timestamp {
391 if x != nil {
392 return x.NotAfterLimit
393 }
394 return nil
395 }
396
397 func (x *LogConfig) GetAcceptOnlyCa() bool {
398 if x != nil {
399 return x.AcceptOnlyCa
400 }
401 return false
402 }
403
404 func (x *LogConfig) GetLogBackendName() string {
405 if x != nil {
406 return x.LogBackendName
407 }
408 return ""
409 }
410
411 func (x *LogConfig) GetIsMirror() bool {
412 if x != nil {
413 return x.IsMirror
414 }
415 return false
416 }
417
418 func (x *LogConfig) GetIsReadonly() bool {
419 if x != nil {
420 return x.IsReadonly
421 }
422 return false
423 }
424
425 func (x *LogConfig) GetMaxMergeDelaySec() int32 {
426 if x != nil {
427 return x.MaxMergeDelaySec
428 }
429 return 0
430 }
431
432 func (x *LogConfig) GetExpectedMergeDelaySec() int32 {
433 if x != nil {
434 return x.ExpectedMergeDelaySec
435 }
436 return 0
437 }
438
439 func (x *LogConfig) GetFrozenSth() *SignedTreeHead {
440 if x != nil {
441 return x.FrozenSth
442 }
443 return nil
444 }
445
446 func (x *LogConfig) GetRejectExtensions() []string {
447 if x != nil {
448 return x.RejectExtensions
449 }
450 return nil
451 }
452
453
454
455 type LogMultiConfig struct {
456 state protoimpl.MessageState
457 sizeCache protoimpl.SizeCache
458 unknownFields protoimpl.UnknownFields
459
460
461
462 Backends *LogBackendSet `protobuf:"bytes,1,opt,name=backends,proto3" json:"backends,omitempty"`
463
464
465 LogConfigs *LogConfigSet `protobuf:"bytes,2,opt,name=log_configs,json=logConfigs,proto3" json:"log_configs,omitempty"`
466 }
467
468 func (x *LogMultiConfig) Reset() {
469 *x = LogMultiConfig{}
470 if protoimpl.UnsafeEnabled {
471 mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[4]
472 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
473 ms.StoreMessageInfo(mi)
474 }
475 }
476
477 func (x *LogMultiConfig) String() string {
478 return protoimpl.X.MessageStringOf(x)
479 }
480
481 func (*LogMultiConfig) ProtoMessage() {}
482
483 func (x *LogMultiConfig) ProtoReflect() protoreflect.Message {
484 mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[4]
485 if protoimpl.UnsafeEnabled && x != nil {
486 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
487 if ms.LoadMessageInfo() == nil {
488 ms.StoreMessageInfo(mi)
489 }
490 return ms
491 }
492 return mi.MessageOf(x)
493 }
494
495
496 func (*LogMultiConfig) Descriptor() ([]byte, []int) {
497 return file_trillian_ctfe_configpb_config_proto_rawDescGZIP(), []int{4}
498 }
499
500 func (x *LogMultiConfig) GetBackends() *LogBackendSet {
501 if x != nil {
502 return x.Backends
503 }
504 return nil
505 }
506
507 func (x *LogMultiConfig) GetLogConfigs() *LogConfigSet {
508 if x != nil {
509 return x.LogConfigs
510 }
511 return nil
512 }
513
514
515
516
517 type SignedTreeHead struct {
518 state protoimpl.MessageState
519 sizeCache protoimpl.SizeCache
520 unknownFields protoimpl.UnknownFields
521
522 TreeSize int64 `protobuf:"varint,1,opt,name=tree_size,json=treeSize,proto3" json:"tree_size,omitempty"`
523 Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
524 Sha256RootHash []byte `protobuf:"bytes,3,opt,name=sha256_root_hash,json=sha256RootHash,proto3" json:"sha256_root_hash,omitempty"`
525 TreeHeadSignature []byte `protobuf:"bytes,4,opt,name=tree_head_signature,json=treeHeadSignature,proto3" json:"tree_head_signature,omitempty"`
526 }
527
528 func (x *SignedTreeHead) Reset() {
529 *x = SignedTreeHead{}
530 if protoimpl.UnsafeEnabled {
531 mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[5]
532 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
533 ms.StoreMessageInfo(mi)
534 }
535 }
536
537 func (x *SignedTreeHead) String() string {
538 return protoimpl.X.MessageStringOf(x)
539 }
540
541 func (*SignedTreeHead) ProtoMessage() {}
542
543 func (x *SignedTreeHead) ProtoReflect() protoreflect.Message {
544 mi := &file_trillian_ctfe_configpb_config_proto_msgTypes[5]
545 if protoimpl.UnsafeEnabled && x != nil {
546 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
547 if ms.LoadMessageInfo() == nil {
548 ms.StoreMessageInfo(mi)
549 }
550 return ms
551 }
552 return mi.MessageOf(x)
553 }
554
555
556 func (*SignedTreeHead) Descriptor() ([]byte, []int) {
557 return file_trillian_ctfe_configpb_config_proto_rawDescGZIP(), []int{5}
558 }
559
560 func (x *SignedTreeHead) GetTreeSize() int64 {
561 if x != nil {
562 return x.TreeSize
563 }
564 return 0
565 }
566
567 func (x *SignedTreeHead) GetTimestamp() int64 {
568 if x != nil {
569 return x.Timestamp
570 }
571 return 0
572 }
573
574 func (x *SignedTreeHead) GetSha256RootHash() []byte {
575 if x != nil {
576 return x.Sha256RootHash
577 }
578 return nil
579 }
580
581 func (x *SignedTreeHead) GetTreeHeadSignature() []byte {
582 if x != nil {
583 return x.TreeHeadSignature
584 }
585 return nil
586 }
587
588 var File_trillian_ctfe_configpb_config_proto protoreflect.FileDescriptor
589
590 var file_trillian_ctfe_configpb_config_proto_rawDesc = []byte{
591 0x0a, 0x23, 0x74, 0x72, 0x69, 0x6c, 0x6c, 0x69, 0x61, 0x6e, 0x2f, 0x63, 0x74, 0x66, 0x65, 0x2f,
592 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e,
593 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x1a,
594 0x1a, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x2f, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x62, 0x2f, 0x6b,
595 0x65, 0x79, 0x73, 0x70, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
596 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79,
597 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
598 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
599 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x42, 0x61,
600 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
601 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x61, 0x63,
602 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
603 0x0b, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x53, 0x70, 0x65, 0x63, 0x22, 0x3f, 0x0a, 0x0d,
604 0x4c, 0x6f, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x74, 0x12, 0x2e, 0x0a,
605 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14,
606 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x42, 0x61, 0x63,
607 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x22, 0x3b, 0x0a,
608 0x0c, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x12, 0x2b, 0x0a,
609 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e,
610 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66,
611 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xdd, 0x06, 0x0a, 0x09, 0x4c,
612 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x15, 0x0a, 0x06, 0x6c, 0x6f, 0x67, 0x5f,
613 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x6f, 0x67, 0x49, 0x64, 0x12,
614 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
615 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x36, 0x0a, 0x17, 0x6f, 0x76, 0x65, 0x72, 0x72,
616 0x69, 0x64, 0x65, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x65, 0x66,
617 0x69, 0x78, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69,
618 0x64, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12,
619 0x24, 0x0a, 0x0e, 0x72, 0x6f, 0x6f, 0x74, 0x73, 0x5f, 0x70, 0x65, 0x6d, 0x5f, 0x66, 0x69, 0x6c,
620 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x6f, 0x6f, 0x74, 0x73, 0x50, 0x65,
621 0x6d, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x35, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
622 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f,
623 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79,
624 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x0a,
625 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
626 0x32, 0x11, 0x2e, 0x6b, 0x65, 0x79, 0x73, 0x70, 0x62, 0x2e, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63,
627 0x4b, 0x65, 0x79, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x25,
628 0x0a, 0x0e, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64,
629 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x45, 0x78,
630 0x70, 0x69, 0x72, 0x65, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x5f,
631 0x75, 0x6e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52,
632 0x0f, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x55, 0x6e, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64,
633 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x78, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67,
634 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x4b, 0x65, 0x79,
635 0x55, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x0f, 0x6e, 0x6f, 0x74, 0x5f, 0x61, 0x66,
636 0x74, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
637 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
638 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0d, 0x6e, 0x6f, 0x74,
639 0x41, 0x66, 0x74, 0x65, 0x72, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x42, 0x0a, 0x0f, 0x6e, 0x6f,
640 0x74, 0x5f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x09, 0x20,
641 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
642 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
643 0x0d, 0x6e, 0x6f, 0x74, 0x41, 0x66, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x24,
644 0x0a, 0x0e, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x63, 0x61,
645 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x4f, 0x6e,
646 0x6c, 0x79, 0x43, 0x61, 0x12, 0x28, 0x0a, 0x10, 0x6c, 0x6f, 0x67, 0x5f, 0x62, 0x61, 0x63, 0x6b,
647 0x65, 0x6e, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
648 0x6c, 0x6f, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b,
649 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28,
650 0x08, 0x52, 0x08, 0x69, 0x73, 0x4d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x69,
651 0x73, 0x5f, 0x72, 0x65, 0x61, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08,
652 0x52, 0x0a, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x6f, 0x6e, 0x6c, 0x79, 0x12, 0x2d, 0x0a, 0x13,
653 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x5f,
654 0x73, 0x65, 0x63, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x6d, 0x61, 0x78, 0x4d, 0x65,
655 0x72, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x53, 0x65, 0x63, 0x12, 0x37, 0x0a, 0x18, 0x65,
656 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x5f, 0x64, 0x65,
657 0x6c, 0x61, 0x79, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x65,
658 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x44, 0x65, 0x6c, 0x61,
659 0x79, 0x53, 0x65, 0x63, 0x12, 0x37, 0x0a, 0x0a, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x5f, 0x73,
660 0x74, 0x68, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
661 0x67, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x72, 0x65, 0x65, 0x48, 0x65,
662 0x61, 0x64, 0x52, 0x09, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x53, 0x74, 0x68, 0x12, 0x2b, 0x0a,
663 0x11, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
664 0x6e, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74,
665 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7e, 0x0a, 0x0e, 0x4c, 0x6f,
666 0x67, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x33, 0x0a, 0x08,
667 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
668 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x42, 0x61, 0x63,
669 0x6b, 0x65, 0x6e, 0x64, 0x53, 0x65, 0x74, 0x52, 0x08, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
670 0x73, 0x12, 0x37, 0x0a, 0x0b, 0x6c, 0x6f, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73,
671 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70,
672 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x52, 0x0a,
673 0x6c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x22, 0xa5, 0x01, 0x0a, 0x0e, 0x53,
674 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x72, 0x65, 0x65, 0x48, 0x65, 0x61, 0x64, 0x12, 0x1b, 0x0a,
675 0x09, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
676 0x52, 0x08, 0x74, 0x72, 0x65, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69,
677 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74,
678 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x68, 0x61, 0x32,
679 0x35, 0x36, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01,
680 0x28, 0x0c, 0x52, 0x0e, 0x73, 0x68, 0x61, 0x32, 0x35, 0x36, 0x52, 0x6f, 0x6f, 0x74, 0x48, 0x61,
681 0x73, 0x68, 0x12, 0x2e, 0x0a, 0x13, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x5f,
682 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52,
683 0x11, 0x74, 0x72, 0x65, 0x65, 0x48, 0x65, 0x61, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75,
684 0x72, 0x65, 0x42, 0x46, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
685 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63,
686 0x61, 0x74, 0x65, 0x2d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x63, 0x79,
687 0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x72, 0x69, 0x6c, 0x6c, 0x69, 0x61, 0x6e, 0x2f, 0x63, 0x74, 0x66,
688 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
689 0x6f, 0x33,
690 }
691
692 var (
693 file_trillian_ctfe_configpb_config_proto_rawDescOnce sync.Once
694 file_trillian_ctfe_configpb_config_proto_rawDescData = file_trillian_ctfe_configpb_config_proto_rawDesc
695 )
696
697 func file_trillian_ctfe_configpb_config_proto_rawDescGZIP() []byte {
698 file_trillian_ctfe_configpb_config_proto_rawDescOnce.Do(func() {
699 file_trillian_ctfe_configpb_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_trillian_ctfe_configpb_config_proto_rawDescData)
700 })
701 return file_trillian_ctfe_configpb_config_proto_rawDescData
702 }
703
704 var file_trillian_ctfe_configpb_config_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
705 var file_trillian_ctfe_configpb_config_proto_goTypes = []interface{}{
706 (*LogBackend)(nil),
707 (*LogBackendSet)(nil),
708 (*LogConfigSet)(nil),
709 (*LogConfig)(nil),
710 (*LogMultiConfig)(nil),
711 (*SignedTreeHead)(nil),
712 (*anypb.Any)(nil),
713 (*keyspb.PublicKey)(nil),
714 (*timestamppb.Timestamp)(nil),
715 }
716 var file_trillian_ctfe_configpb_config_proto_depIdxs = []int32{
717 0,
718 3,
719 6,
720 7,
721 8,
722 8,
723 5,
724 1,
725 2,
726 9,
727 9,
728 9,
729 9,
730 0,
731 }
732
733 func init() { file_trillian_ctfe_configpb_config_proto_init() }
734 func file_trillian_ctfe_configpb_config_proto_init() {
735 if File_trillian_ctfe_configpb_config_proto != nil {
736 return
737 }
738 if !protoimpl.UnsafeEnabled {
739 file_trillian_ctfe_configpb_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
740 switch v := v.(*LogBackend); i {
741 case 0:
742 return &v.state
743 case 1:
744 return &v.sizeCache
745 case 2:
746 return &v.unknownFields
747 default:
748 return nil
749 }
750 }
751 file_trillian_ctfe_configpb_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
752 switch v := v.(*LogBackendSet); i {
753 case 0:
754 return &v.state
755 case 1:
756 return &v.sizeCache
757 case 2:
758 return &v.unknownFields
759 default:
760 return nil
761 }
762 }
763 file_trillian_ctfe_configpb_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
764 switch v := v.(*LogConfigSet); i {
765 case 0:
766 return &v.state
767 case 1:
768 return &v.sizeCache
769 case 2:
770 return &v.unknownFields
771 default:
772 return nil
773 }
774 }
775 file_trillian_ctfe_configpb_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
776 switch v := v.(*LogConfig); i {
777 case 0:
778 return &v.state
779 case 1:
780 return &v.sizeCache
781 case 2:
782 return &v.unknownFields
783 default:
784 return nil
785 }
786 }
787 file_trillian_ctfe_configpb_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
788 switch v := v.(*LogMultiConfig); i {
789 case 0:
790 return &v.state
791 case 1:
792 return &v.sizeCache
793 case 2:
794 return &v.unknownFields
795 default:
796 return nil
797 }
798 }
799 file_trillian_ctfe_configpb_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
800 switch v := v.(*SignedTreeHead); i {
801 case 0:
802 return &v.state
803 case 1:
804 return &v.sizeCache
805 case 2:
806 return &v.unknownFields
807 default:
808 return nil
809 }
810 }
811 }
812 type x struct{}
813 out := protoimpl.TypeBuilder{
814 File: protoimpl.DescBuilder{
815 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
816 RawDescriptor: file_trillian_ctfe_configpb_config_proto_rawDesc,
817 NumEnums: 0,
818 NumMessages: 6,
819 NumExtensions: 0,
820 NumServices: 0,
821 },
822 GoTypes: file_trillian_ctfe_configpb_config_proto_goTypes,
823 DependencyIndexes: file_trillian_ctfe_configpb_config_proto_depIdxs,
824 MessageInfos: file_trillian_ctfe_configpb_config_proto_msgTypes,
825 }.Build()
826 File_trillian_ctfe_configpb_config_proto = out.File
827 file_trillian_ctfe_configpb_config_proto_rawDesc = nil
828 file_trillian_ctfe_configpb_config_proto_goTypes = nil
829 file_trillian_ctfe_configpb_config_proto_depIdxs = nil
830 }
831
View as plain text