frostfs-sdk-go/client
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
..
status *: Fix linter warnings 2022-02-24 18:49:55 +03:00
accounting.go [#131] client: Name all methods and types the same way 2022-02-18 17:01:08 +03:00
client.go [#92] client: Add docs about status returns 2022-02-01 17:02:43 +03:00
common.go [#146] client: Customize private key in object HEAD/DELETE 2022-02-21 15:21:37 +03:00
container.go [#150] signature: Add scheme 2022-02-25 12:42:38 +03:00
netmap.go [#131] client: Name all methods and types the same way 2022-02-18 17:01:08 +03:00
object_delete.go [#146] client: Customize private key in object HEAD/DELETE 2022-02-21 15:21:37 +03:00
object_get.go [#149] client: Fix false io.ErrUnexpectedEOF return 2022-02-24 15:59:09 +03:00
object_hash.go [#131] client: Re-implement Object Delete and Hash methods 2022-02-18 17:01:08 +03:00
object_put.go [#147] client: Send 3MB per message in ObjectWriter.WritePayloadChunk 2022-02-22 09:09:22 +03:00
object_search.go [#149] client: Fill buffer completely when reading stream data 2022-02-24 15:59:09 +03:00
opts.go [#131] client: Remove no longer needed code 2022-02-18 17:01:08 +03:00
raw.go [#111] client: Fix doc comments 2022-01-11 11:03:14 +03:00
reputation.go [#131] client: Name all methods and types the same way 2022-02-18 17:01:08 +03:00
response.go [#131] client: Remove no longer needed code 2022-02-18 17:01:08 +03:00
session.go [#131] client: Name all methods and types the same way 2022-02-18 17:01:08 +03:00