aboutsummaryrefslogtreecommitdiff
path: root/proto/signer.proto
blob: 83f180d8de5a9febd36cfc1c15f70151c4c1cb6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
syntax = "proto3";
package proto;

import "google/protobuf/timestamp.proto";

message SignRequest {
  bytes key = 1;
  google.protobuf.Timestamp valid_until = 2;
}

message SignResponse {
  bytes cert = 1;
}

service Signer {
  rpc Sign(SignRequest) returns (SignResponse) {}
}