frostfs-sdk-go/object
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
..
address [#128] objecttest: Fix linter 2022-02-01 17:03:12 +03:00
id [#128] object: Move `ID` and `Address` in subpkg 2022-02-01 17:03:12 +03:00
test [#128] *: Use correct aliases for object testing 2022-02-01 17:03:12 +03:00
attribute.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
attribute_test.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
error.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
error_test.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
fmt.go [#150] signature: Add scheme 2022-02-25 12:42:38 +03:00
fmt_test.go [#93] Remove golang.org/x/crypto dependency 2021-12-14 15:27:04 +03:00
object.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
range.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
range_test.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
raw.go [#143] object: Add notification setters and getters 2022-02-22 19:34:51 +03:00
raw_test.go [#128] object: Move `ID` and `Address` in subpkg 2022-02-01 17:03:12 +03:00
rw.go [#143] object: Add notification setters and getters 2022-02-22 19:34:51 +03:00
search.go [#143] object/search: Add notification filter 2022-02-22 19:34:51 +03:00
search_test.go [#128] object: Move `ID` and `Address` in subpkg 2022-02-01 17:03:12 +03:00
splitid.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
splitid_test.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
splitinfo.go [#128] object: Move `ID` and `Address` in subpkg 2022-02-01 17:03:12 +03:00
splitinfo_test.go [#128] object: Move `ID` and `Address` in subpkg 2022-02-01 17:03:12 +03:00
tombstone.go [#128] object: Move `ID` and `Address` in subpkg 2022-02-01 17:03:12 +03:00
tombstone_test.go [#128] object: Move `ID` and `Address` in subpkg 2022-02-01 17:03:12 +03:00
type.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
type_test.go [#64] object: move package from neofs-api-go 2021-11-09 09:57:37 +03:00
wellknown_attributes.go [#143] object: Fix well-known attribute comment 2022-02-22 19:34:51 +03:00