frostfs-api-go-pogpp/pkg/acl/eacl
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
..
enums.go [#199] sdk/eacl: Correct linter's remarks 2020-11-16 18:51:14 +03:00
enums_test.go [#139] sdk/acl: Add test coverage for EACL structures 2020-09-18 10:45:11 +03:00
filter.go [#199] sdk/eacl: Correct linter's remarks 2020-11-16 18:51:14 +03:00
filter_test.go [#168] acl: Implement binary/JSON encoders/decoders on HeaderFilter 2020-11-13 18:07:26 +03:00
record.go [#217] pkg/eacl: Change interface for working with keys on Target and Record 2020-12-01 10:11:32 +03:00
record_test.go [#217] pkg/eacl: Change interface for working with keys on Target and Record 2020-12-01 10:11:32 +03:00
table.go [#199] sdk/eacl: Correct linter's remarks 2020-11-16 18:51:14 +03:00
table_test.go [#199] sdk/eacl: Correct linter's remarks 2020-11-16 18:51:14 +03:00
target.go [#217] pkg/eacl: Change interface for working with keys on Target and Record 2020-12-01 10:11:32 +03:00
target_test.go [#217] pkg/eacl: Change interface for working with keys on Target and Record 2020-12-01 10:11:32 +03:00