frostfs-sdk-go/session
Evgenii Stratonikov 1c7dd03cf5 [#150] signature: Add scheme
Allow `SignOption` to set 2 parameters:
1. Default signature scheme, which is used in case scheme is
   unspecified.
2. Restrict scheme option which also checks that scheme is either
   unspecified or equal to the restricted scheme. This is only used
   for verification and is necessary because some of the signatures
   are used in smart-contracts.

Also provide signature struct to sign/verify functions in helpers.

The constant names differ a bit from those in API because of linter
complaints.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2022-02-25 12:42:38 +03:00
..
test [#128] *: Use correct aliases for object testing 2022-02-01 17:03:12 +03:00
container.go [#128] session: Sync comments and constructors 2022-02-01 17:03:12 +03:00
container_test.go [#128] session: Add `ObjectContext` 2022-02-01 17:03:12 +03:00
object.go [#128] session: Sync comments and constructors 2022-02-01 17:03:12 +03:00
object_test.go [#128] *: Use correct aliases for object testing 2022-02-01 17:03:12 +03:00
session.go [#150] signature: Add scheme 2022-02-25 12:42:38 +03:00
session_test.go Upgrade to NeoFS API Go v2.12.0 2022-02-25 11:31:15 +03:00
xheader.go [#53] session: move XHeader from neofs-api-go 2021-11-08 12:39:45 +03:00
xheader_test.go [#53] session: move XHeader from neofs-api-go 2021-11-08 12:39:45 +03:00