forked from TrueCloudLab/frostfs-api
[#22] Add signature field to container delete request
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
72618c4e49
commit
cd6db41fe3
1 changed files with 4 additions and 3 deletions
|
@ -55,9 +55,10 @@ message PutResponse {
|
||||||
}
|
}
|
||||||
|
|
||||||
message DeleteRequest {
|
message DeleteRequest {
|
||||||
// CID (container id) is a SHA256 hash of the container structure
|
// ContainerID of container to delete from NeoFS.
|
||||||
bytes CID = 1 [(gogoproto.customtype) = "CID", (gogoproto.nullable) = false];
|
bytes ContainerID = 1;
|
||||||
|
// Signature of container id according to RFC-6979.
|
||||||
|
bytes Signature = 2;
|
||||||
// RequestMetaHeader contains information about request meta headers (should be embedded into message)
|
// RequestMetaHeader contains information about request meta headers (should be embedded into message)
|
||||||
service.RequestMetaHeader Meta = 98 [(gogoproto.embed) = true, (gogoproto.nullable) = false];
|
service.RequestMetaHeader Meta = 98 [(gogoproto.embed) = true, (gogoproto.nullable) = false];
|
||||||
// RequestVerificationHeader is a set of signatures of every NeoFS Node that processed request (should be embedded into message)
|
// RequestVerificationHeader is a set of signatures of every NeoFS Node that processed request (should be embedded into message)
|
||||||
|
|
Loading…
Reference in a new issue