forked from TrueCloudLab/frostfs-api
Use common signature type
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
a78b8a1ea5
commit
13a80df882
4 changed files with 10 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue