frostfs-api-go/pkg
Leonard Lyubich c01024b553 [#217] pkg/eacl: Change interface for working with keys on Target and Record
In previous implementation Target provided Keys/SetKeys methods which
allowed working with ECDSA keys. There was also a bug in the NewTargetFromV2
function when the binary key differed in format from the ECDSA key. New
BinaryKeys/SetBinaryKeys methods work with binary keys. To work with ECDSA
keys added functions TargetECDSAKeys/SetTargetECDSAKeys. Old methods are
left and marked deprecated.

Type Record provided an interface for adding a Target by Role and a list of
ECDSA keys. New SetTargets method allows to set the list of Target's,
AddTarget function allows to add a single Target. AddFormedTarget works like
old AddTarget method, which is now deprecated.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-12-01 10:11:32 +03:00
..
accounting [#199] sdk/accounting: Rename test file package 2020-11-16 18:51:14 +03:00
acl [#217] pkg/eacl: Change interface for working with keys on Target and Record 2020-12-01 10:11:32 +03:00
client [#207] sdk/client: Implement GetEACLWithSignature method 2020-11-24 15:16:42 +03:00
container [#199] sdk/container: Correct linter's remarks 2020-11-16 18:51:14 +03:00
netmap [#199] sdk/netmap: Correct linter's remarks 2020-11-16 18:51:14 +03:00
object [#209] Support nil value in SplitID 2020-11-26 13:26:34 +03:00
owner [#199] sdk/owner: Correct linter's remarks 2020-11-16 18:51:14 +03:00
token [#199] sdk/token: Correct linter's remarks 2020-11-16 18:51:14 +03:00
.gitkeep Implement new request signing mechanism 2020-09-18 10:40:45 +03:00
checksum.go [#197] sdk: Rename getters of Checksum type 2020-11-16 11:52:21 +03:00
checksum_test.go [#197] sdk: Rename getters of Checksum type 2020-11-16 11:52:21 +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 [#197] sdk: Rename getters of Version type 2020-11-16 11:52:21 +03:00
version_test.go [#197] sdk: Rename getters of Version type 2020-11-16 11:52:21 +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