Skip to content

Commit

Permalink
VA: Add a method for performing MPIC compliant CAA checks
Browse files Browse the repository at this point in the history
  • Loading branch information
beautifulentropy committed Nov 13, 2024
1 parent 6722e0e commit 122c9ab
Show file tree
Hide file tree
Showing 6 changed files with 1,240 additions and 244 deletions.
254 changes: 224 additions & 30 deletions va/proto/va.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions va/proto/va.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ service VA {

service CAA {
rpc IsCAAValid(IsCAAValidRequest) returns (IsCAAValidResponse) {}
rpc CheckCAA(CheckCAARequest) returns (CheckCAAResult) {}
}

message IsCAAValidRequest {
Expand Down Expand Up @@ -52,3 +53,17 @@ message ValidationRequest {
string authzID = 4;
string keyAuthorization = 5;
}

message CheckCAARequest {
core.Identifier identifier = 1;
string challengeType = 2;
int64 regID = 3;
string authzID = 4;
bool isRecheck = 5;
}

message CheckCAAResult {
core.ProblemDetails problem = 1;
string perspective = 3;
string rir = 4;
}
Loading

0 comments on commit 122c9ab

Please sign in to comment.