249244536a
* CSR Service: + implement certificate sign rpc method + implement certificate signer client/server + refactor `AuthorizationDB#Create` + refactor `NewTestIdentity` + add `AuthorizationDB#Claim` + add `Token#Equal` + fix `Authorizations#Marshal` when marshaling identities and certificates + tweak `Authorization#String` format + cert debugging improvements (jsondiff) + receive context arg in `NewTestIdentity` + misc. fixes
22 lines
382 B
Protocol Buffer
22 lines
382 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 {
|
|
string auth_token = 1;
|
|
int64 timestamp = 2;
|
|
}
|
|
|
|
message SigningResponse {
|
|
repeated bytes chain = 1;
|
|
} |