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

import "google/protobuf/timestamp.proto";

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

message SignResponse {
  bytes cert = 1;
}

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