storj/pkg/pb/certificate.proto
2018-12-20 19:29:05 +01:00

22 lines
371 B
Protocol Buffer

// Copyright (C) 2018 Storj Labs, Inc.
// See LICENSE for copying information.
syntax = "proto3";
option go_package = "pb";
package node;
import "gogo.proto";
service Certificates {
rpc Sign(SigningRequest) returns (SigningResponse);
}
message SigningRequest {
bytes auth_token = 1;
int64 timestamp = 2;
}
message SigningResponse {
bytes cert = 1;
}