...

Text file src/github.com/letsencrypt/boulder/va/proto/va.proto

Documentation: github.com/letsencrypt/boulder/va/proto

     1syntax = "proto3";
     2
     3package va;
     4option go_package = "github.com/letsencrypt/boulder/va/proto";
     5
     6import "core/proto/core.proto";
     7
     8service VA {
     9  rpc PerformValidation(PerformValidationRequest) returns (ValidationResult) {}
    10}
    11
    12service CAA {
    13  rpc IsCAAValid(IsCAAValidRequest) returns (IsCAAValidResponse) {}
    14}
    15
    16message IsCAAValidRequest {
    17  // NOTE: Domain may be a name with a wildcard prefix (e.g. `*.example.com`)
    18  string domain = 1;
    19  string validationMethod = 2;
    20  int64 accountURIID = 3;
    21}
    22
    23// If CAA is valid for the requested domain, the problem will be empty
    24message IsCAAValidResponse {
    25  core.ProblemDetails problem = 1;
    26}
    27
    28message PerformValidationRequest {
    29  string domain = 1;
    30  core.Challenge challenge = 2;
    31  AuthzMeta authz = 3;
    32}
    33
    34message AuthzMeta {
    35  string id = 1;
    36  int64 regID = 2;
    37}
    38
    39message ValidationResult {
    40  repeated core.ValidationRecord records = 1;
    41  core.ProblemDetails problems = 2;
    42}

View as plain text