frostfs-api-go/pkg
Leonard Lyubich 05e74d56db [#283] pkg/session: Implement Sign/Verify methods on Token
Implement `Token.Sign` method which calculates signature of the data of the
`Token` and writes the signature into it. Implement `Token.VerifySignature`
which checks if `Token` signature is presented and valid. These methods
allow to abstract the external context from the details of what kind of data
is being signed and how the signature is stored.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-28 16:32:02 +03:00
..
accounting [#199] sdk/accounting: Rename test file package 2020-11-16 18:51:14 +03:00
acl [#288] pkg/eacl: Fix conversion of slices in Table.ToV2 method 2021-05-28 09:37:21 +03:00
audit [#235] v2/audit: Regenerate protobuf 2020-12-25 16:20:34 +03:00
client [#283] client/container: Write new fields to eACL table in GetEACL 2021-05-26 12:24:58 +03:00
container [#283] pkg/token: Replace SessionToken into a session package 2021-05-26 12:24:58 +03:00
netmap [#263] pkg/netmap: Do not allocate nil repeated fields during conversion 2021-03-17 14:03:49 +03:00
object [#277] go.mod: remove pkg/errors 2021-05-19 11:14:56 +03:00
owner [#283] pkg/owner: Implement Equal method of ID type 2021-05-28 16:32:02 +03:00
reputation Synchronize namings with NeoFS API v2.6.0 2021-05-07 15:11:18 +03:00
session [#283] pkg/session: Implement Sign/Verify methods on Token 2021-05-28 16:32:02 +03:00
storagegroup [#230] pkg: Implement storage group type with basic methods 2020-12-25 16:20:26 +03:00
token [#283] pkg/token: Replace SessionToken into a session package 2021-05-26 12:24:58 +03:00
.gitkeep Implement new request signing mechanism 2020-09-18 10:40:45 +03:00
checksum.go [#277] go.mod: remove pkg/errors 2021-05-19 11:14:56 +03:00
checksum_test.go [#230] pkg: Implement string encode/decode methods on Checksum 2020-12-25 16:20:26 +03:00
signature.go [#197] sdk: Rename getters of Signature type 2020-11-16 11:52:21 +03:00
signature_test.go [#168] refs: Implement binary/JSON encoders/decoders on Signature 2020-11-13 18:07:26 +03:00
version.go [#277] go.mod: remove pkg/errors 2021-05-19 11:14:56 +03:00
version_test.go [#267] pkg: Fix IsSupportedVersion implementation 2021-03-17 14:30:02 +03:00
xheader.go [#198] sdk: Implement XHeader type 2020-11-16 12:44:37 +03:00
xheader_test.go [#198] sdk: Implement XHeader type 2020-11-16 12:44:37 +03:00