1
2
3
4
5
6
7 package proto
8
9 import (
10 proto "github.com/letsencrypt/boulder/core/proto"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
14 reflect "reflect"
15 sync "sync"
16 )
17
18 const (
19
20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
21
22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
23 )
24
25 type IssueCertificateRequest struct {
26 state protoimpl.MessageState
27 sizeCache protoimpl.SizeCache
28 unknownFields protoimpl.UnknownFields
29
30 Csr []byte `protobuf:"bytes,1,opt,name=csr,proto3" json:"csr,omitempty"`
31 RegistrationID int64 `protobuf:"varint,2,opt,name=registrationID,proto3" json:"registrationID,omitempty"`
32 OrderID int64 `protobuf:"varint,3,opt,name=orderID,proto3" json:"orderID,omitempty"`
33 IssuerNameID int64 `protobuf:"varint,4,opt,name=issuerNameID,proto3" json:"issuerNameID,omitempty"`
34 }
35
36 func (x *IssueCertificateRequest) Reset() {
37 *x = IssueCertificateRequest{}
38 if protoimpl.UnsafeEnabled {
39 mi := &file_ca_proto_msgTypes[0]
40 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
41 ms.StoreMessageInfo(mi)
42 }
43 }
44
45 func (x *IssueCertificateRequest) String() string {
46 return protoimpl.X.MessageStringOf(x)
47 }
48
49 func (*IssueCertificateRequest) ProtoMessage() {}
50
51 func (x *IssueCertificateRequest) ProtoReflect() protoreflect.Message {
52 mi := &file_ca_proto_msgTypes[0]
53 if protoimpl.UnsafeEnabled && x != nil {
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 if ms.LoadMessageInfo() == nil {
56 ms.StoreMessageInfo(mi)
57 }
58 return ms
59 }
60 return mi.MessageOf(x)
61 }
62
63
64 func (*IssueCertificateRequest) Descriptor() ([]byte, []int) {
65 return file_ca_proto_rawDescGZIP(), []int{0}
66 }
67
68 func (x *IssueCertificateRequest) GetCsr() []byte {
69 if x != nil {
70 return x.Csr
71 }
72 return nil
73 }
74
75 func (x *IssueCertificateRequest) GetRegistrationID() int64 {
76 if x != nil {
77 return x.RegistrationID
78 }
79 return 0
80 }
81
82 func (x *IssueCertificateRequest) GetOrderID() int64 {
83 if x != nil {
84 return x.OrderID
85 }
86 return 0
87 }
88
89 func (x *IssueCertificateRequest) GetIssuerNameID() int64 {
90 if x != nil {
91 return x.IssuerNameID
92 }
93 return 0
94 }
95
96 type IssuePrecertificateResponse struct {
97 state protoimpl.MessageState
98 sizeCache protoimpl.SizeCache
99 unknownFields protoimpl.UnknownFields
100
101 DER []byte `protobuf:"bytes,1,opt,name=DER,proto3" json:"DER,omitempty"`
102 }
103
104 func (x *IssuePrecertificateResponse) Reset() {
105 *x = IssuePrecertificateResponse{}
106 if protoimpl.UnsafeEnabled {
107 mi := &file_ca_proto_msgTypes[1]
108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
109 ms.StoreMessageInfo(mi)
110 }
111 }
112
113 func (x *IssuePrecertificateResponse) String() string {
114 return protoimpl.X.MessageStringOf(x)
115 }
116
117 func (*IssuePrecertificateResponse) ProtoMessage() {}
118
119 func (x *IssuePrecertificateResponse) ProtoReflect() protoreflect.Message {
120 mi := &file_ca_proto_msgTypes[1]
121 if protoimpl.UnsafeEnabled && x != nil {
122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
123 if ms.LoadMessageInfo() == nil {
124 ms.StoreMessageInfo(mi)
125 }
126 return ms
127 }
128 return mi.MessageOf(x)
129 }
130
131
132 func (*IssuePrecertificateResponse) Descriptor() ([]byte, []int) {
133 return file_ca_proto_rawDescGZIP(), []int{1}
134 }
135
136 func (x *IssuePrecertificateResponse) GetDER() []byte {
137 if x != nil {
138 return x.DER
139 }
140 return nil
141 }
142
143 type IssueCertificateForPrecertificateRequest struct {
144 state protoimpl.MessageState
145 sizeCache protoimpl.SizeCache
146 unknownFields protoimpl.UnknownFields
147
148 DER []byte `protobuf:"bytes,1,opt,name=DER,proto3" json:"DER,omitempty"`
149 SCTs [][]byte `protobuf:"bytes,2,rep,name=SCTs,proto3" json:"SCTs,omitempty"`
150 RegistrationID int64 `protobuf:"varint,3,opt,name=registrationID,proto3" json:"registrationID,omitempty"`
151 OrderID int64 `protobuf:"varint,4,opt,name=orderID,proto3" json:"orderID,omitempty"`
152 }
153
154 func (x *IssueCertificateForPrecertificateRequest) Reset() {
155 *x = IssueCertificateForPrecertificateRequest{}
156 if protoimpl.UnsafeEnabled {
157 mi := &file_ca_proto_msgTypes[2]
158 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
159 ms.StoreMessageInfo(mi)
160 }
161 }
162
163 func (x *IssueCertificateForPrecertificateRequest) String() string {
164 return protoimpl.X.MessageStringOf(x)
165 }
166
167 func (*IssueCertificateForPrecertificateRequest) ProtoMessage() {}
168
169 func (x *IssueCertificateForPrecertificateRequest) ProtoReflect() protoreflect.Message {
170 mi := &file_ca_proto_msgTypes[2]
171 if protoimpl.UnsafeEnabled && x != nil {
172 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
173 if ms.LoadMessageInfo() == nil {
174 ms.StoreMessageInfo(mi)
175 }
176 return ms
177 }
178 return mi.MessageOf(x)
179 }
180
181
182 func (*IssueCertificateForPrecertificateRequest) Descriptor() ([]byte, []int) {
183 return file_ca_proto_rawDescGZIP(), []int{2}
184 }
185
186 func (x *IssueCertificateForPrecertificateRequest) GetDER() []byte {
187 if x != nil {
188 return x.DER
189 }
190 return nil
191 }
192
193 func (x *IssueCertificateForPrecertificateRequest) GetSCTs() [][]byte {
194 if x != nil {
195 return x.SCTs
196 }
197 return nil
198 }
199
200 func (x *IssueCertificateForPrecertificateRequest) GetRegistrationID() int64 {
201 if x != nil {
202 return x.RegistrationID
203 }
204 return 0
205 }
206
207 func (x *IssueCertificateForPrecertificateRequest) GetOrderID() int64 {
208 if x != nil {
209 return x.OrderID
210 }
211 return 0
212 }
213
214
215 type GenerateOCSPRequest struct {
216 state protoimpl.MessageState
217 sizeCache protoimpl.SizeCache
218 unknownFields protoimpl.UnknownFields
219
220
221 Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
222 Reason int32 `protobuf:"varint,3,opt,name=reason,proto3" json:"reason,omitempty"`
223 RevokedAtNS int64 `protobuf:"varint,4,opt,name=revokedAtNS,proto3" json:"revokedAtNS,omitempty"`
224 RevokedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=revokedAt,proto3" json:"revokedAt,omitempty"`
225 Serial string `protobuf:"bytes,5,opt,name=serial,proto3" json:"serial,omitempty"`
226 IssuerID int64 `protobuf:"varint,6,opt,name=issuerID,proto3" json:"issuerID,omitempty"`
227 }
228
229 func (x *GenerateOCSPRequest) Reset() {
230 *x = GenerateOCSPRequest{}
231 if protoimpl.UnsafeEnabled {
232 mi := &file_ca_proto_msgTypes[3]
233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
234 ms.StoreMessageInfo(mi)
235 }
236 }
237
238 func (x *GenerateOCSPRequest) String() string {
239 return protoimpl.X.MessageStringOf(x)
240 }
241
242 func (*GenerateOCSPRequest) ProtoMessage() {}
243
244 func (x *GenerateOCSPRequest) ProtoReflect() protoreflect.Message {
245 mi := &file_ca_proto_msgTypes[3]
246 if protoimpl.UnsafeEnabled && x != nil {
247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
248 if ms.LoadMessageInfo() == nil {
249 ms.StoreMessageInfo(mi)
250 }
251 return ms
252 }
253 return mi.MessageOf(x)
254 }
255
256
257 func (*GenerateOCSPRequest) Descriptor() ([]byte, []int) {
258 return file_ca_proto_rawDescGZIP(), []int{3}
259 }
260
261 func (x *GenerateOCSPRequest) GetStatus() string {
262 if x != nil {
263 return x.Status
264 }
265 return ""
266 }
267
268 func (x *GenerateOCSPRequest) GetReason() int32 {
269 if x != nil {
270 return x.Reason
271 }
272 return 0
273 }
274
275 func (x *GenerateOCSPRequest) GetRevokedAtNS() int64 {
276 if x != nil {
277 return x.RevokedAtNS
278 }
279 return 0
280 }
281
282 func (x *GenerateOCSPRequest) GetRevokedAt() *timestamppb.Timestamp {
283 if x != nil {
284 return x.RevokedAt
285 }
286 return nil
287 }
288
289 func (x *GenerateOCSPRequest) GetSerial() string {
290 if x != nil {
291 return x.Serial
292 }
293 return ""
294 }
295
296 func (x *GenerateOCSPRequest) GetIssuerID() int64 {
297 if x != nil {
298 return x.IssuerID
299 }
300 return 0
301 }
302
303 type OCSPResponse struct {
304 state protoimpl.MessageState
305 sizeCache protoimpl.SizeCache
306 unknownFields protoimpl.UnknownFields
307
308 Response []byte `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
309 }
310
311 func (x *OCSPResponse) Reset() {
312 *x = OCSPResponse{}
313 if protoimpl.UnsafeEnabled {
314 mi := &file_ca_proto_msgTypes[4]
315 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
316 ms.StoreMessageInfo(mi)
317 }
318 }
319
320 func (x *OCSPResponse) String() string {
321 return protoimpl.X.MessageStringOf(x)
322 }
323
324 func (*OCSPResponse) ProtoMessage() {}
325
326 func (x *OCSPResponse) ProtoReflect() protoreflect.Message {
327 mi := &file_ca_proto_msgTypes[4]
328 if protoimpl.UnsafeEnabled && x != nil {
329 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
330 if ms.LoadMessageInfo() == nil {
331 ms.StoreMessageInfo(mi)
332 }
333 return ms
334 }
335 return mi.MessageOf(x)
336 }
337
338
339 func (*OCSPResponse) Descriptor() ([]byte, []int) {
340 return file_ca_proto_rawDescGZIP(), []int{4}
341 }
342
343 func (x *OCSPResponse) GetResponse() []byte {
344 if x != nil {
345 return x.Response
346 }
347 return nil
348 }
349
350 type GenerateCRLRequest struct {
351 state protoimpl.MessageState
352 sizeCache protoimpl.SizeCache
353 unknownFields protoimpl.UnknownFields
354
355
356
357
358
359 Payload isGenerateCRLRequest_Payload `protobuf_oneof:"payload"`
360 }
361
362 func (x *GenerateCRLRequest) Reset() {
363 *x = GenerateCRLRequest{}
364 if protoimpl.UnsafeEnabled {
365 mi := &file_ca_proto_msgTypes[5]
366 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
367 ms.StoreMessageInfo(mi)
368 }
369 }
370
371 func (x *GenerateCRLRequest) String() string {
372 return protoimpl.X.MessageStringOf(x)
373 }
374
375 func (*GenerateCRLRequest) ProtoMessage() {}
376
377 func (x *GenerateCRLRequest) ProtoReflect() protoreflect.Message {
378 mi := &file_ca_proto_msgTypes[5]
379 if protoimpl.UnsafeEnabled && x != nil {
380 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
381 if ms.LoadMessageInfo() == nil {
382 ms.StoreMessageInfo(mi)
383 }
384 return ms
385 }
386 return mi.MessageOf(x)
387 }
388
389
390 func (*GenerateCRLRequest) Descriptor() ([]byte, []int) {
391 return file_ca_proto_rawDescGZIP(), []int{5}
392 }
393
394 func (m *GenerateCRLRequest) GetPayload() isGenerateCRLRequest_Payload {
395 if m != nil {
396 return m.Payload
397 }
398 return nil
399 }
400
401 func (x *GenerateCRLRequest) GetMetadata() *CRLMetadata {
402 if x, ok := x.GetPayload().(*GenerateCRLRequest_Metadata); ok {
403 return x.Metadata
404 }
405 return nil
406 }
407
408 func (x *GenerateCRLRequest) GetEntry() *proto.CRLEntry {
409 if x, ok := x.GetPayload().(*GenerateCRLRequest_Entry); ok {
410 return x.Entry
411 }
412 return nil
413 }
414
415 type isGenerateCRLRequest_Payload interface {
416 isGenerateCRLRequest_Payload()
417 }
418
419 type GenerateCRLRequest_Metadata struct {
420 Metadata *CRLMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,oneof"`
421 }
422
423 type GenerateCRLRequest_Entry struct {
424 Entry *proto.CRLEntry `protobuf:"bytes,2,opt,name=entry,proto3,oneof"`
425 }
426
427 func (*GenerateCRLRequest_Metadata) isGenerateCRLRequest_Payload() {}
428
429 func (*GenerateCRLRequest_Entry) isGenerateCRLRequest_Payload() {}
430
431 type CRLMetadata struct {
432 state protoimpl.MessageState
433 sizeCache protoimpl.SizeCache
434 unknownFields protoimpl.UnknownFields
435
436
437 IssuerNameID int64 `protobuf:"varint,1,opt,name=issuerNameID,proto3" json:"issuerNameID,omitempty"`
438 ThisUpdateNS int64 `protobuf:"varint,2,opt,name=thisUpdateNS,proto3" json:"thisUpdateNS,omitempty"`
439 ThisUpdate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=thisUpdate,proto3" json:"thisUpdate,omitempty"`
440 ShardIdx int64 `protobuf:"varint,3,opt,name=shardIdx,proto3" json:"shardIdx,omitempty"`
441 }
442
443 func (x *CRLMetadata) Reset() {
444 *x = CRLMetadata{}
445 if protoimpl.UnsafeEnabled {
446 mi := &file_ca_proto_msgTypes[6]
447 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
448 ms.StoreMessageInfo(mi)
449 }
450 }
451
452 func (x *CRLMetadata) String() string {
453 return protoimpl.X.MessageStringOf(x)
454 }
455
456 func (*CRLMetadata) ProtoMessage() {}
457
458 func (x *CRLMetadata) ProtoReflect() protoreflect.Message {
459 mi := &file_ca_proto_msgTypes[6]
460 if protoimpl.UnsafeEnabled && x != nil {
461 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
462 if ms.LoadMessageInfo() == nil {
463 ms.StoreMessageInfo(mi)
464 }
465 return ms
466 }
467 return mi.MessageOf(x)
468 }
469
470
471 func (*CRLMetadata) Descriptor() ([]byte, []int) {
472 return file_ca_proto_rawDescGZIP(), []int{6}
473 }
474
475 func (x *CRLMetadata) GetIssuerNameID() int64 {
476 if x != nil {
477 return x.IssuerNameID
478 }
479 return 0
480 }
481
482 func (x *CRLMetadata) GetThisUpdateNS() int64 {
483 if x != nil {
484 return x.ThisUpdateNS
485 }
486 return 0
487 }
488
489 func (x *CRLMetadata) GetThisUpdate() *timestamppb.Timestamp {
490 if x != nil {
491 return x.ThisUpdate
492 }
493 return nil
494 }
495
496 func (x *CRLMetadata) GetShardIdx() int64 {
497 if x != nil {
498 return x.ShardIdx
499 }
500 return 0
501 }
502
503 type GenerateCRLResponse struct {
504 state protoimpl.MessageState
505 sizeCache protoimpl.SizeCache
506 unknownFields protoimpl.UnknownFields
507
508 Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
509 }
510
511 func (x *GenerateCRLResponse) Reset() {
512 *x = GenerateCRLResponse{}
513 if protoimpl.UnsafeEnabled {
514 mi := &file_ca_proto_msgTypes[7]
515 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
516 ms.StoreMessageInfo(mi)
517 }
518 }
519
520 func (x *GenerateCRLResponse) String() string {
521 return protoimpl.X.MessageStringOf(x)
522 }
523
524 func (*GenerateCRLResponse) ProtoMessage() {}
525
526 func (x *GenerateCRLResponse) ProtoReflect() protoreflect.Message {
527 mi := &file_ca_proto_msgTypes[7]
528 if protoimpl.UnsafeEnabled && x != nil {
529 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
530 if ms.LoadMessageInfo() == nil {
531 ms.StoreMessageInfo(mi)
532 }
533 return ms
534 }
535 return mi.MessageOf(x)
536 }
537
538
539 func (*GenerateCRLResponse) Descriptor() ([]byte, []int) {
540 return file_ca_proto_rawDescGZIP(), []int{7}
541 }
542
543 func (x *GenerateCRLResponse) GetChunk() []byte {
544 if x != nil {
545 return x.Chunk
546 }
547 return nil
548 }
549
550 var File_ca_proto protoreflect.FileDescriptor
551
552 var file_ca_proto_rawDesc = []byte{
553 0x0a, 0x08, 0x63, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x63, 0x61, 0x1a, 0x15,
554 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2e,
555 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
556 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
557 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x01, 0x0a, 0x17, 0x49, 0x73, 0x73, 0x75, 0x65,
558 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
559 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x73, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
560 0x03, 0x63, 0x73, 0x72, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61,
561 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65,
562 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07,
563 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6f,
564 0x72, 0x64, 0x65, 0x72, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72,
565 0x4e, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x69, 0x73,
566 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x22, 0x2f, 0x0a, 0x1b, 0x49, 0x73,
567 0x73, 0x75, 0x65, 0x50, 0x72, 0x65, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
568 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x44, 0x45, 0x52,
569 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x44, 0x45, 0x52, 0x22, 0x92, 0x01, 0x0a, 0x28,
570 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65,
571 0x46, 0x6f, 0x72, 0x50, 0x72, 0x65, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
572 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x44, 0x45, 0x52, 0x18,
573 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x44, 0x45, 0x52, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x43,
574 0x54, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x04, 0x53, 0x43, 0x54, 0x73, 0x12, 0x26,
575 0x0a, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
576 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61,
577 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49,
578 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x44,
579 0x22, 0xd5, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x4f, 0x43, 0x53,
580 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
581 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
582 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
583 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x76, 0x6f,
584 0x6b, 0x65, 0x64, 0x41, 0x74, 0x4e, 0x53, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x72,
585 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x41, 0x74, 0x4e, 0x53, 0x12, 0x38, 0x0a, 0x09, 0x72, 0x65,
586 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
587 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
588 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x72, 0x65, 0x76, 0x6f, 0x6b,
589 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x05,
590 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x1a, 0x0a, 0x08,
591 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
592 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x49, 0x44, 0x22, 0x2a, 0x0a, 0x0c, 0x4f, 0x43, 0x53, 0x50,
593 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70,
594 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70,
595 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x76, 0x0a, 0x12, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
596 0x43, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65,
597 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x63,
598 0x61, 0x2e, 0x43, 0x52, 0x4c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52,
599 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x26, 0x0a, 0x05, 0x65, 0x6e, 0x74,
600 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e,
601 0x43, 0x52, 0x4c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x48, 0x00, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72,
602 0x79, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xad, 0x01, 0x0a,
603 0x0b, 0x43, 0x52, 0x4c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0c,
604 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
605 0x28, 0x03, 0x52, 0x0c, 0x69, 0x73, 0x73, 0x75, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x49, 0x44,
606 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x68, 0x69, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4e, 0x53,
607 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x74, 0x68, 0x69, 0x73, 0x55, 0x70, 0x64, 0x61,
608 0x74, 0x65, 0x4e, 0x53, 0x12, 0x3a, 0x0a, 0x0a, 0x74, 0x68, 0x69, 0x73, 0x55, 0x70, 0x64, 0x61,
609 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
610 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
611 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x74, 0x68, 0x69, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
612 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x78, 0x18, 0x03, 0x20, 0x01,
613 0x28, 0x03, 0x52, 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x78, 0x22, 0x2b, 0x0a, 0x13,
614 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f,
615 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01,
616 0x28, 0x0c, 0x52, 0x05, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x32, 0xd5, 0x01, 0x0a, 0x14, 0x43, 0x65,
617 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
618 0x74, 0x79, 0x12, 0x55, 0x0a, 0x13, 0x49, 0x73, 0x73, 0x75, 0x65, 0x50, 0x72, 0x65, 0x63, 0x65,
619 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x2e, 0x63, 0x61, 0x2e, 0x49,
620 0x73, 0x73, 0x75, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52,
621 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x63, 0x61, 0x2e, 0x49, 0x73, 0x73, 0x75,
622 0x65, 0x50, 0x72, 0x65, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52,
623 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x66, 0x0a, 0x21, 0x49, 0x73, 0x73,
624 0x75, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72,
625 0x50, 0x72, 0x65, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x2c,
626 0x2e, 0x63, 0x61, 0x2e, 0x49, 0x73, 0x73, 0x75, 0x65, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69,
627 0x63, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x50, 0x72, 0x65, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66,
628 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x63,
629 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22,
630 0x00, 0x32, 0x4c, 0x0a, 0x0d, 0x4f, 0x43, 0x53, 0x50, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
631 0x6f, 0x72, 0x12, 0x3b, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x4f, 0x43,
632 0x53, 0x50, 0x12, 0x17, 0x2e, 0x63, 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
633 0x4f, 0x43, 0x53, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x63, 0x61,
634 0x2e, 0x4f, 0x43, 0x53, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32,
635 0x54, 0x0a, 0x0c, 0x43, 0x52, 0x4c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12,
636 0x44, 0x0a, 0x0b, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x52, 0x4c, 0x12, 0x16,
637 0x2e, 0x63, 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x43, 0x52, 0x4c, 0x52,
638 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x63, 0x61, 0x2e, 0x47, 0x65, 0x6e, 0x65,
639 0x72, 0x61, 0x74, 0x65, 0x43, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
640 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x29, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
641 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x65, 0x74, 0x73, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x2f,
642 0x62, 0x6f, 0x75, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x63, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
643 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
644 }
645
646 var (
647 file_ca_proto_rawDescOnce sync.Once
648 file_ca_proto_rawDescData = file_ca_proto_rawDesc
649 )
650
651 func file_ca_proto_rawDescGZIP() []byte {
652 file_ca_proto_rawDescOnce.Do(func() {
653 file_ca_proto_rawDescData = protoimpl.X.CompressGZIP(file_ca_proto_rawDescData)
654 })
655 return file_ca_proto_rawDescData
656 }
657
658 var file_ca_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
659 var file_ca_proto_goTypes = []interface{}{
660 (*IssueCertificateRequest)(nil),
661 (*IssuePrecertificateResponse)(nil),
662 (*IssueCertificateForPrecertificateRequest)(nil),
663 (*GenerateOCSPRequest)(nil),
664 (*OCSPResponse)(nil),
665 (*GenerateCRLRequest)(nil),
666 (*CRLMetadata)(nil),
667 (*GenerateCRLResponse)(nil),
668 (*timestamppb.Timestamp)(nil),
669 (*proto.CRLEntry)(nil),
670 (*proto.Certificate)(nil),
671 }
672 var file_ca_proto_depIdxs = []int32{
673 8,
674 6,
675 9,
676 8,
677 0,
678 2,
679 3,
680 5,
681 1,
682 10,
683 4,
684 7,
685 8,
686 4,
687 4,
688 4,
689 0,
690 }
691
692 func init() { file_ca_proto_init() }
693 func file_ca_proto_init() {
694 if File_ca_proto != nil {
695 return
696 }
697 if !protoimpl.UnsafeEnabled {
698 file_ca_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
699 switch v := v.(*IssueCertificateRequest); i {
700 case 0:
701 return &v.state
702 case 1:
703 return &v.sizeCache
704 case 2:
705 return &v.unknownFields
706 default:
707 return nil
708 }
709 }
710 file_ca_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
711 switch v := v.(*IssuePrecertificateResponse); i {
712 case 0:
713 return &v.state
714 case 1:
715 return &v.sizeCache
716 case 2:
717 return &v.unknownFields
718 default:
719 return nil
720 }
721 }
722 file_ca_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
723 switch v := v.(*IssueCertificateForPrecertificateRequest); i {
724 case 0:
725 return &v.state
726 case 1:
727 return &v.sizeCache
728 case 2:
729 return &v.unknownFields
730 default:
731 return nil
732 }
733 }
734 file_ca_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
735 switch v := v.(*GenerateOCSPRequest); i {
736 case 0:
737 return &v.state
738 case 1:
739 return &v.sizeCache
740 case 2:
741 return &v.unknownFields
742 default:
743 return nil
744 }
745 }
746 file_ca_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
747 switch v := v.(*OCSPResponse); i {
748 case 0:
749 return &v.state
750 case 1:
751 return &v.sizeCache
752 case 2:
753 return &v.unknownFields
754 default:
755 return nil
756 }
757 }
758 file_ca_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
759 switch v := v.(*GenerateCRLRequest); i {
760 case 0:
761 return &v.state
762 case 1:
763 return &v.sizeCache
764 case 2:
765 return &v.unknownFields
766 default:
767 return nil
768 }
769 }
770 file_ca_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
771 switch v := v.(*CRLMetadata); i {
772 case 0:
773 return &v.state
774 case 1:
775 return &v.sizeCache
776 case 2:
777 return &v.unknownFields
778 default:
779 return nil
780 }
781 }
782 file_ca_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
783 switch v := v.(*GenerateCRLResponse); i {
784 case 0:
785 return &v.state
786 case 1:
787 return &v.sizeCache
788 case 2:
789 return &v.unknownFields
790 default:
791 return nil
792 }
793 }
794 }
795 file_ca_proto_msgTypes[5].OneofWrappers = []interface{}{
796 (*GenerateCRLRequest_Metadata)(nil),
797 (*GenerateCRLRequest_Entry)(nil),
798 }
799 type x struct{}
800 out := protoimpl.TypeBuilder{
801 File: protoimpl.DescBuilder{
802 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
803 RawDescriptor: file_ca_proto_rawDesc,
804 NumEnums: 0,
805 NumMessages: 8,
806 NumExtensions: 0,
807 NumServices: 3,
808 },
809 GoTypes: file_ca_proto_goTypes,
810 DependencyIndexes: file_ca_proto_depIdxs,
811 MessageInfos: file_ca_proto_msgTypes,
812 }.Build()
813 File_ca_proto = out.File
814 file_ca_proto_rawDesc = nil
815 file_ca_proto_goTypes = nil
816 file_ca_proto_depIdxs = nil
817 }
818
View as plain text