2020-01-30 11:41:24 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package service;
|
2020-03-31 06:58:22 +00:00
|
|
|
option go_package = "github.com/nspcc-dev/neofs-api-go/service";
|
2020-02-05 12:14:39 +00:00
|
|
|
option csharp_namespace = "NeoFS.API.Service";
|
2020-01-30 11:41:24 +00:00
|
|
|
|
|
|
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
|
|
|
|
|
|
|
option (gogoproto.stable_marshaler_all) = true;
|
|
|
|
|
|
|
|
// RequestVerificationHeader is a set of signatures of every NeoFS Node that processed request
|
|
|
|
// (should be embedded into message).
|
|
|
|
message RequestVerificationHeader {
|
2020-04-23 10:44:21 +00:00
|
|
|
message Signature {
|
2020-01-30 11:41:24 +00:00
|
|
|
// Sign is signature of the request or session key.
|
|
|
|
bytes Sign = 1;
|
|
|
|
// Peer is compressed public key used for signature.
|
|
|
|
bytes Peer = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Signatures is a set of signatures of every passed NeoFS Node
|
|
|
|
repeated Signature Signatures = 1;
|
|
|
|
}
|