From e8ff7ffe8e8c25195c64950b61c6c5754bbcd3ba Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Sun, 19 Feb 2017 00:25:42 +0000 Subject: Add grpc signer --- proto/signer.proto | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 proto/signer.proto (limited to 'proto/signer.proto') 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) {} +} -- cgit v1.2.3