github.com/letsencrypt/boulder@v0.20251208.0/va/proto/va.proto (about) 1 syntax = "proto3"; 2 3 package va; 4 option go_package = "github.com/letsencrypt/boulder/va/proto"; 5 6 import "core/proto/core.proto"; 7 8 service VA { 9 rpc DoDCV(PerformValidationRequest) returns (ValidationResult) {} 10 } 11 12 service CAA { 13 rpc DoCAA(IsCAAValidRequest) returns (IsCAAValidResponse) {} 14 } 15 16 message IsCAAValidRequest { 17 // Next unused field number: 6 18 reserved 1; // Previously domain 19 // NOTE: For DNS identifiers, the value may be a wildcard domain name (e.g. 20 // `*.example.com`). 21 core.Identifier identifier = 5; 22 string validationMethod = 2; 23 int64 accountURIID = 3; 24 string authzID = 4; 25 } 26 27 // If CAA is valid for the requested domain, the problem will be empty 28 message IsCAAValidResponse { 29 core.ProblemDetails problem = 1; 30 string perspective = 3; 31 string rir = 4; 32 } 33 34 message PerformValidationRequest { 35 // Next unused field number: 6 36 reserved 1; // Previously dnsName 37 core.Identifier identifier = 5; 38 core.Challenge challenge = 2; 39 AuthzMeta authz = 3; 40 string expectedKeyAuthorization = 4; 41 } 42 43 message AuthzMeta { 44 string id = 1; 45 int64 regID = 2; 46 } 47 48 message ValidationResult { 49 repeated core.ValidationRecord records = 1; 50 core.ProblemDetails problem = 2; 51 string perspective = 3; 52 string rir = 4; 53 }