diff options
Diffstat (limited to 'proto/signer.proto')
-rw-r--r-- | proto/signer.proto | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/proto/signer.proto b/proto/signer.proto new file mode 100644 index 0000000..83f180d --- /dev/null +++ b/proto/signer.proto @@ -0,0 +1,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) {} +} |