Skip to content

Commit

Permalink
Merge pull request #13 from SlyngDK/crl
Browse files Browse the repository at this point in the history
Added support for revoke certificates, only server side.
  • Loading branch information
SlyngDK authored Nov 23, 2021
2 parents d10f3ba + 3435b4f commit 4df3bee
Show file tree
Hide file tree
Showing 21 changed files with 781 additions and 200 deletions.
223 changes: 180 additions & 43 deletions protocol/agent-service.pb.go

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

12 changes: 10 additions & 2 deletions protocol/agent-service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ package protocol;
service AgentService {
rpc Enroll (EnrollRequest) returns (EnrollResponse) {}
rpc GetEnrollStatus (google.protobuf.Empty) returns (GetEnrollStatusResponse){}
rpc GetCertificateAuthorityByNetwork (GetCertificateAuthorityByNetworkRequest) returns (GetCertificateAuthorityByNetworkResponse) {
}
rpc GetCertificateAuthorityByNetwork (GetCertificateAuthorityByNetworkRequest) returns (GetCertificateAuthorityByNetworkResponse) {}
rpc GetCRLByNetwork (GetCRLByNetworkRequest) returns (GetCRLByNetworkResponse) {}
}

message EnrollRequest {
Expand Down Expand Up @@ -44,3 +44,11 @@ message GetCertificateAuthorityByNetworkRequest {
message GetCertificateAuthorityByNetworkResponse {
repeated CertificateAuthority certificateAuthorities = 1;
}

message GetCRLByNetworkRequest {
repeated string networkNames = 1;
}

message GetCRLByNetworkResponse {
repeated NetworkCRL crls = 1;
}
36 changes: 36 additions & 0 deletions protocol/agent-service_grpc.pb.go

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

Loading

0 comments on commit 4df3bee

Please sign in to comment.