frostfs-api-go/object
Leonard Lyubich 74e917810a service: support broken apart signable payload of the requests
In previous implementation service package provided types and functions
that wrapped signing/verification of data with session token.
This allowed us to use these functions for signing / verification of
service requests of other packages. To support the expansion of messages
with additional parts that need to be signed, you must be able to easily
expand the signed data with new parts.

To achieve the described goal, this commit makes the following changes:

  * adds GroupSignedPayloads and GroupVerifyPayloads functions;

  * renames SignedDataWithToken to RequestData, DataWithTokenSignAccumulator
    to RequestSignedData, DataWithTokenSignSource to RequestVerifyData;

  * renames SignDataWithSessionToken/VerifyAccumulatedSignaturesWithToken
    function to SignRequestData/VerifyRequestData and makes it to use
    GroupSignedPayloads/GroupVerifyPayloads internally.
2020-06-10 20:37:10 +03:00
..
doc.go initial 2019-11-18 16:34:06 +03:00
extensions.go Resolve update conflicts 2020-04-28 13:33:43 +03:00
service.go service: refactor MetaHeader interface 2020-05-04 14:37:14 +03:00
service.pb.go Update to neofs-api v0.7.2 2020-04-28 12:50:52 +03:00
service.proto Update to neofs-api v0.7.2 2020-04-28 12:50:52 +03:00
service_test.go Resolve update conflicts 2020-04-28 13:33:43 +03:00
sg.go Migrate to new repo 2020-03-31 10:05:26 +03:00
sg_test.go Migrate to new repo 2020-03-31 10:05:26 +03:00
sign.go object: implement SignedData() and AddSignKey() methods on IntegrityHeader 2020-05-18 16:51:59 +03:00
sign_test.go service: support broken apart signable payload of the requests 2020-06-10 20:37:10 +03:00
types.go object: implement SignedData() and AddSignKey() methods on IntegrityHeader 2020-05-18 16:51:59 +03:00
types.pb.go proto: regenerate files 2020-04-28 16:30:47 +03:00
types.proto proto: regenerate files 2020-04-28 16:30:47 +03:00
types_test.go object: implement SignedData() and AddSignKey() methods on IntegrityHeader 2020-05-18 16:51:59 +03:00
utils.go Resolve update conflicts 2020-04-28 13:33:43 +03:00
utils_test.go Fix NaN ObjectSize 2020-01-27 15:02:14 +03:00
verification.go service: access Token message fields through getters and setters 2020-04-28 18:40:21 +03:00
verification_test.go service: access Token message fields through getters and setters 2020-04-28 18:40:21 +03:00