Use common signature type

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
Stanislav Bogatyrev 2020-08-18 14:26:53 +03:00 committed by Alex Vanin
parent a78b8a1ea5
commit 13a80df882
4 changed files with 10 additions and 19 deletions

View file

@ -49,12 +49,8 @@ message PutRequest {
// Container to create in NeoFS.
container.Container container = 1;
// Public Key of container owner. It can be public key of the owner
// or it can be public key that bound in neofs.id smart-contract.
bytes public_key = 2;
// Signature of stable-marshalled container according to RFC-6979.
bytes signature = 3;
//Signature of stable-marshalled container according to RFC-6979.
neo.fs.v2.service.Signature signature =2;
}
// Body of container put request message.
Body body = 1;
@ -98,7 +94,7 @@ message DeleteRequest {
neo.fs.v2.refs.ContainerID container_id = 1;
// Signature of container id according to RFC-6979.
bytes signature = 2;
neo.fs.v2.service.Signature signature = 2;
}
// Body of container delete request message.
Body body = 1;
@ -220,7 +216,7 @@ message SetExtendedACLRequest {
neo.fs.v2.acl.EACLTable eacl = 1;
// Signature of stable-marshalled Extended ACL according to RFC-6979.
bytes signature = 2;
neo.fs.v2.service.Signature signature = 2;
}
// Body of set extended acl request message.
Body body = 1;
@ -282,7 +278,7 @@ message GetExtendedACLResponse {
neo.fs.v2.acl.EACLTable eacl = 1;
// Signature of stable-marshalled Extended ACL according to RFC-6979.
bytes signature = 2;
neo.fs.v2.service.Signature signature = 2;
}
// Body of get extended acl response message.
Body body = 1;