22 lines
371 B
Protocol Buffer
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;
|
|
} |