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 reflect "reflect"
14 sync "sync"
15 )
16
17 const (
18
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22 )
23
24 type IsCAAValidRequest struct {
25 state protoimpl.MessageState
26 sizeCache protoimpl.SizeCache
27 unknownFields protoimpl.UnknownFields
28
29
30 Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
31 ValidationMethod string `protobuf:"bytes,2,opt,name=validationMethod,proto3" json:"validationMethod,omitempty"`
32 AccountURIID int64 `protobuf:"varint,3,opt,name=accountURIID,proto3" json:"accountURIID,omitempty"`
33 }
34
35 func (x *IsCAAValidRequest) Reset() {
36 *x = IsCAAValidRequest{}
37 if protoimpl.UnsafeEnabled {
38 mi := &file_va_proto_msgTypes[0]
39 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
40 ms.StoreMessageInfo(mi)
41 }
42 }
43
44 func (x *IsCAAValidRequest) String() string {
45 return protoimpl.X.MessageStringOf(x)
46 }
47
48 func (*IsCAAValidRequest) ProtoMessage() {}
49
50 func (x *IsCAAValidRequest) ProtoReflect() protoreflect.Message {
51 mi := &file_va_proto_msgTypes[0]
52 if protoimpl.UnsafeEnabled && x != nil {
53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54 if ms.LoadMessageInfo() == nil {
55 ms.StoreMessageInfo(mi)
56 }
57 return ms
58 }
59 return mi.MessageOf(x)
60 }
61
62
63 func (*IsCAAValidRequest) Descriptor() ([]byte, []int) {
64 return file_va_proto_rawDescGZIP(), []int{0}
65 }
66
67 func (x *IsCAAValidRequest) GetDomain() string {
68 if x != nil {
69 return x.Domain
70 }
71 return ""
72 }
73
74 func (x *IsCAAValidRequest) GetValidationMethod() string {
75 if x != nil {
76 return x.ValidationMethod
77 }
78 return ""
79 }
80
81 func (x *IsCAAValidRequest) GetAccountURIID() int64 {
82 if x != nil {
83 return x.AccountURIID
84 }
85 return 0
86 }
87
88
89 type IsCAAValidResponse struct {
90 state protoimpl.MessageState
91 sizeCache protoimpl.SizeCache
92 unknownFields protoimpl.UnknownFields
93
94 Problem *proto.ProblemDetails `protobuf:"bytes,1,opt,name=problem,proto3" json:"problem,omitempty"`
95 }
96
97 func (x *IsCAAValidResponse) Reset() {
98 *x = IsCAAValidResponse{}
99 if protoimpl.UnsafeEnabled {
100 mi := &file_va_proto_msgTypes[1]
101 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
102 ms.StoreMessageInfo(mi)
103 }
104 }
105
106 func (x *IsCAAValidResponse) String() string {
107 return protoimpl.X.MessageStringOf(x)
108 }
109
110 func (*IsCAAValidResponse) ProtoMessage() {}
111
112 func (x *IsCAAValidResponse) ProtoReflect() protoreflect.Message {
113 mi := &file_va_proto_msgTypes[1]
114 if protoimpl.UnsafeEnabled && x != nil {
115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
116 if ms.LoadMessageInfo() == nil {
117 ms.StoreMessageInfo(mi)
118 }
119 return ms
120 }
121 return mi.MessageOf(x)
122 }
123
124
125 func (*IsCAAValidResponse) Descriptor() ([]byte, []int) {
126 return file_va_proto_rawDescGZIP(), []int{1}
127 }
128
129 func (x *IsCAAValidResponse) GetProblem() *proto.ProblemDetails {
130 if x != nil {
131 return x.Problem
132 }
133 return nil
134 }
135
136 type PerformValidationRequest struct {
137 state protoimpl.MessageState
138 sizeCache protoimpl.SizeCache
139 unknownFields protoimpl.UnknownFields
140
141 Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
142 Challenge *proto.Challenge `protobuf:"bytes,2,opt,name=challenge,proto3" json:"challenge,omitempty"`
143 Authz *AuthzMeta `protobuf:"bytes,3,opt,name=authz,proto3" json:"authz,omitempty"`
144 }
145
146 func (x *PerformValidationRequest) Reset() {
147 *x = PerformValidationRequest{}
148 if protoimpl.UnsafeEnabled {
149 mi := &file_va_proto_msgTypes[2]
150 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
151 ms.StoreMessageInfo(mi)
152 }
153 }
154
155 func (x *PerformValidationRequest) String() string {
156 return protoimpl.X.MessageStringOf(x)
157 }
158
159 func (*PerformValidationRequest) ProtoMessage() {}
160
161 func (x *PerformValidationRequest) ProtoReflect() protoreflect.Message {
162 mi := &file_va_proto_msgTypes[2]
163 if protoimpl.UnsafeEnabled && x != nil {
164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
165 if ms.LoadMessageInfo() == nil {
166 ms.StoreMessageInfo(mi)
167 }
168 return ms
169 }
170 return mi.MessageOf(x)
171 }
172
173
174 func (*PerformValidationRequest) Descriptor() ([]byte, []int) {
175 return file_va_proto_rawDescGZIP(), []int{2}
176 }
177
178 func (x *PerformValidationRequest) GetDomain() string {
179 if x != nil {
180 return x.Domain
181 }
182 return ""
183 }
184
185 func (x *PerformValidationRequest) GetChallenge() *proto.Challenge {
186 if x != nil {
187 return x.Challenge
188 }
189 return nil
190 }
191
192 func (x *PerformValidationRequest) GetAuthz() *AuthzMeta {
193 if x != nil {
194 return x.Authz
195 }
196 return nil
197 }
198
199 type AuthzMeta struct {
200 state protoimpl.MessageState
201 sizeCache protoimpl.SizeCache
202 unknownFields protoimpl.UnknownFields
203
204 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
205 RegID int64 `protobuf:"varint,2,opt,name=regID,proto3" json:"regID,omitempty"`
206 }
207
208 func (x *AuthzMeta) Reset() {
209 *x = AuthzMeta{}
210 if protoimpl.UnsafeEnabled {
211 mi := &file_va_proto_msgTypes[3]
212 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
213 ms.StoreMessageInfo(mi)
214 }
215 }
216
217 func (x *AuthzMeta) String() string {
218 return protoimpl.X.MessageStringOf(x)
219 }
220
221 func (*AuthzMeta) ProtoMessage() {}
222
223 func (x *AuthzMeta) ProtoReflect() protoreflect.Message {
224 mi := &file_va_proto_msgTypes[3]
225 if protoimpl.UnsafeEnabled && x != nil {
226 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
227 if ms.LoadMessageInfo() == nil {
228 ms.StoreMessageInfo(mi)
229 }
230 return ms
231 }
232 return mi.MessageOf(x)
233 }
234
235
236 func (*AuthzMeta) Descriptor() ([]byte, []int) {
237 return file_va_proto_rawDescGZIP(), []int{3}
238 }
239
240 func (x *AuthzMeta) GetId() string {
241 if x != nil {
242 return x.Id
243 }
244 return ""
245 }
246
247 func (x *AuthzMeta) GetRegID() int64 {
248 if x != nil {
249 return x.RegID
250 }
251 return 0
252 }
253
254 type ValidationResult struct {
255 state protoimpl.MessageState
256 sizeCache protoimpl.SizeCache
257 unknownFields protoimpl.UnknownFields
258
259 Records []*proto.ValidationRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
260 Problems *proto.ProblemDetails `protobuf:"bytes,2,opt,name=problems,proto3" json:"problems,omitempty"`
261 }
262
263 func (x *ValidationResult) Reset() {
264 *x = ValidationResult{}
265 if protoimpl.UnsafeEnabled {
266 mi := &file_va_proto_msgTypes[4]
267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
268 ms.StoreMessageInfo(mi)
269 }
270 }
271
272 func (x *ValidationResult) String() string {
273 return protoimpl.X.MessageStringOf(x)
274 }
275
276 func (*ValidationResult) ProtoMessage() {}
277
278 func (x *ValidationResult) ProtoReflect() protoreflect.Message {
279 mi := &file_va_proto_msgTypes[4]
280 if protoimpl.UnsafeEnabled && x != nil {
281 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
282 if ms.LoadMessageInfo() == nil {
283 ms.StoreMessageInfo(mi)
284 }
285 return ms
286 }
287 return mi.MessageOf(x)
288 }
289
290
291 func (*ValidationResult) Descriptor() ([]byte, []int) {
292 return file_va_proto_rawDescGZIP(), []int{4}
293 }
294
295 func (x *ValidationResult) GetRecords() []*proto.ValidationRecord {
296 if x != nil {
297 return x.Records
298 }
299 return nil
300 }
301
302 func (x *ValidationResult) GetProblems() *proto.ProblemDetails {
303 if x != nil {
304 return x.Problems
305 }
306 return nil
307 }
308
309 var File_va_proto protoreflect.FileDescriptor
310
311 var file_va_proto_rawDesc = []byte{
312 0x0a, 0x08, 0x76, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x76, 0x61, 0x1a, 0x15,
313 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2e,
314 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x11, 0x49, 0x73, 0x43, 0x41, 0x41, 0x56, 0x61,
315 0x6c, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f,
316 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61,
317 0x69, 0x6e, 0x12, 0x2a, 0x0a, 0x10, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e,
318 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x76, 0x61,
319 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x22,
320 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x52, 0x49, 0x49, 0x44, 0x18, 0x03,
321 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x55, 0x52, 0x49,
322 0x49, 0x44, 0x22, 0x44, 0x0a, 0x12, 0x49, 0x73, 0x43, 0x41, 0x41, 0x56, 0x61, 0x6c, 0x69, 0x64,
323 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x62,
324 0x6c, 0x65, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x72, 0x65,
325 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52,
326 0x07, 0x70, 0x72, 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x22, 0x86, 0x01, 0x0a, 0x18, 0x50, 0x65, 0x72,
327 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
328 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18,
329 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x2d, 0x0a,
330 0x09, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
331 0x32, 0x0f, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67,
332 0x65, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x05,
333 0x61, 0x75, 0x74, 0x68, 0x7a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x76, 0x61,
334 0x2e, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x05, 0x61, 0x75, 0x74, 0x68,
335 0x7a, 0x22, 0x31, 0x0a, 0x09, 0x41, 0x75, 0x74, 0x68, 0x7a, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x0e,
336 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14,
337 0x0a, 0x05, 0x72, 0x65, 0x67, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72,
338 0x65, 0x67, 0x49, 0x44, 0x22, 0x76, 0x0a, 0x10, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69,
339 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x30, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x6f,
340 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x6f, 0x72, 0x65,
341 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x72,
342 0x64, 0x52, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x30, 0x0a, 0x08, 0x70, 0x72,
343 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63,
344 0x6f, 0x72, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x44, 0x65, 0x74, 0x61, 0x69,
345 0x6c, 0x73, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x62, 0x6c, 0x65, 0x6d, 0x73, 0x32, 0x4f, 0x0a, 0x02,
346 0x56, 0x41, 0x12, 0x49, 0x0a, 0x11, 0x50, 0x65, 0x72, 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x61, 0x6c,
347 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x2e, 0x76, 0x61, 0x2e, 0x50, 0x65, 0x72,
348 0x66, 0x6f, 0x72, 0x6d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
349 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x76, 0x61, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64,
350 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x00, 0x32, 0x44, 0x0a,
351 0x03, 0x43, 0x41, 0x41, 0x12, 0x3d, 0x0a, 0x0a, 0x49, 0x73, 0x43, 0x41, 0x41, 0x56, 0x61, 0x6c,
352 0x69, 0x64, 0x12, 0x15, 0x2e, 0x76, 0x61, 0x2e, 0x49, 0x73, 0x43, 0x41, 0x41, 0x56, 0x61, 0x6c,
353 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x76, 0x61, 0x2e, 0x49,
354 0x73, 0x43, 0x41, 0x41, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
355 0x65, 0x22, 0x00, 0x42, 0x29, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
356 0x6d, 0x2f, 0x6c, 0x65, 0x74, 0x73, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x2f, 0x62, 0x6f,
357 0x75, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x76, 0x61, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06,
358 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
359 }
360
361 var (
362 file_va_proto_rawDescOnce sync.Once
363 file_va_proto_rawDescData = file_va_proto_rawDesc
364 )
365
366 func file_va_proto_rawDescGZIP() []byte {
367 file_va_proto_rawDescOnce.Do(func() {
368 file_va_proto_rawDescData = protoimpl.X.CompressGZIP(file_va_proto_rawDescData)
369 })
370 return file_va_proto_rawDescData
371 }
372
373 var file_va_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
374 var file_va_proto_goTypes = []interface{}{
375 (*IsCAAValidRequest)(nil),
376 (*IsCAAValidResponse)(nil),
377 (*PerformValidationRequest)(nil),
378 (*AuthzMeta)(nil),
379 (*ValidationResult)(nil),
380 (*proto.ProblemDetails)(nil),
381 (*proto.Challenge)(nil),
382 (*proto.ValidationRecord)(nil),
383 }
384 var file_va_proto_depIdxs = []int32{
385 5,
386 6,
387 3,
388 7,
389 5,
390 2,
391 0,
392 4,
393 1,
394 7,
395 5,
396 5,
397 5,
398 0,
399 }
400
401 func init() { file_va_proto_init() }
402 func file_va_proto_init() {
403 if File_va_proto != nil {
404 return
405 }
406 if !protoimpl.UnsafeEnabled {
407 file_va_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
408 switch v := v.(*IsCAAValidRequest); i {
409 case 0:
410 return &v.state
411 case 1:
412 return &v.sizeCache
413 case 2:
414 return &v.unknownFields
415 default:
416 return nil
417 }
418 }
419 file_va_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
420 switch v := v.(*IsCAAValidResponse); i {
421 case 0:
422 return &v.state
423 case 1:
424 return &v.sizeCache
425 case 2:
426 return &v.unknownFields
427 default:
428 return nil
429 }
430 }
431 file_va_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
432 switch v := v.(*PerformValidationRequest); i {
433 case 0:
434 return &v.state
435 case 1:
436 return &v.sizeCache
437 case 2:
438 return &v.unknownFields
439 default:
440 return nil
441 }
442 }
443 file_va_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
444 switch v := v.(*AuthzMeta); i {
445 case 0:
446 return &v.state
447 case 1:
448 return &v.sizeCache
449 case 2:
450 return &v.unknownFields
451 default:
452 return nil
453 }
454 }
455 file_va_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
456 switch v := v.(*ValidationResult); i {
457 case 0:
458 return &v.state
459 case 1:
460 return &v.sizeCache
461 case 2:
462 return &v.unknownFields
463 default:
464 return nil
465 }
466 }
467 }
468 type x struct{}
469 out := protoimpl.TypeBuilder{
470 File: protoimpl.DescBuilder{
471 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
472 RawDescriptor: file_va_proto_rawDesc,
473 NumEnums: 0,
474 NumMessages: 5,
475 NumExtensions: 0,
476 NumServices: 2,
477 },
478 GoTypes: file_va_proto_goTypes,
479 DependencyIndexes: file_va_proto_depIdxs,
480 MessageInfos: file_va_proto_msgTypes,
481 }.Build()
482 File_va_proto = out.File
483 file_va_proto_rawDesc = nil
484 file_va_proto_goTypes = nil
485 file_va_proto_depIdxs = nil
486 }
487
View as plain text