Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions object/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ enum MatchType {
// payload_hash
// * $Object:objectType \
// object_type
// * $Object:homomorphicHash \
// homomorphic_hash
// * $Object:split.parent \
// object_id of parent
// * $Object:split.splitID \
Expand Down Expand Up @@ -193,6 +191,7 @@ message Header {
ObjectType object_type = 7 [json_name = "objectType"];

// Homomorphic hash of the object payload (Tillich-Zemor).
// DEPRECATED. Objects of 2.23+ version must have it empty.
neo.fs.v2.refs.Checksum homomorphic_hash = 8 [json_name = "homomorphicHash"];

// Session token, if it was used during Object creation. Need it to verify
Expand Down
4 changes: 1 addition & 3 deletions proto-docs/object.md
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ Object Header
| payload_length | [uint64](#uint64) | | Size of payload in bytes. `0xFFFFFFFFFFFFFFFF` means `payload_length` is unknown. |
| payload_hash | [neo.fs.v2.refs.Checksum](#neo.fs.v2.refs.Checksum) | | SHA256 hash of payload bytes |
| object_type | [ObjectType](#neo.fs.v2.object.ObjectType) | | Type of the object payload content |
| homomorphic_hash | [neo.fs.v2.refs.Checksum](#neo.fs.v2.refs.Checksum) | | Homomorphic hash of the object payload (Tillich-Zemor). |
| homomorphic_hash | [neo.fs.v2.refs.Checksum](#neo.fs.v2.refs.Checksum) | | Homomorphic hash of the object payload (Tillich-Zemor). DEPRECATED. Objects of 2.23+ version must have it empty. |
| session_token | [neo.fs.v2.session.SessionToken](#neo.fs.v2.session.SessionToken) | | Session token, if it was used during Object creation. Need it to verify integrity and authenticity out of Request scope. Only one of `session_token` or `session_token_v2` can be set. |
| attributes | [Header.Attribute](#neo.fs.v2.object.Header.Attribute) | repeated | User-defined object attributes. Attributes vary in length from object to object, so keep an eye on the entire Header limit depending on the context. |
| split | [Header.Split](#neo.fs.v2.object.Header.Split) | | Position of the object in the split hierarchy |
Expand Down Expand Up @@ -1098,8 +1098,6 @@ prefix to the name. Here is the list of fields available via this prefix:
payload_hash
* $Object:objectType \
object_type
* $Object:homomorphicHash \
homomorphic_hash
* $Object:split.parent \
object_id of parent
* $Object:split.splitID \
Expand Down
2 changes: 1 addition & 1 deletion proto-docs/refs.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Checksum algorithm type.
| Name | Number | Description |
| ---- | ------ | ----------- |
| CHECKSUM_TYPE_UNSPECIFIED | 0 | Unknown. Not used |
| TZ | 1 | Tillich-Zemor homomorphic hash function |
| TZ | 1 | Tillich-Zemor homomorphic hash function DEPRECATED starting from 2.23 API version. |
| SHA256 | 2 | SHA-256 |


Expand Down
1 change: 1 addition & 0 deletions refs/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ enum ChecksumType {
CHECKSUM_TYPE_UNSPECIFIED = 0;

// Tillich-Zemor homomorphic hash function
// DEPRECATED starting from 2.23 API version.
TZ = 1;

// SHA-256
Expand Down
Loading