diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2017-02-19 00:25:42 +0000 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2017-02-19 00:43:10 +0000 |
commit | e8ff7ffe8e8c25195c64950b61c6c5754bbcd3ba (patch) | |
tree | 52dd38d68c07991bbbb6b8757b0769f4c5fab20e /proto/signer.proto | |
parent | 19dcff5d7245295d4508a71bb0ed2a886ada7a13 (diff) |
Add grpc signer
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) {} +} |