open-vault/vault/seal
Victor Rodriguez 2656c020ae
Convert seal.Access struct into a interface (OSS) (#20510)
* Move seal barrier type field from Access to autoSeal struct.

Remove method Access.SetType(), which was only being used by a single test, and
which can use the name option of NewTestSeal() to specify the type.

* Change method signatures of Access to match those of Wrapper.

* Turn seal.Access struct into an interface.

* Tweak Access implementation.

Change `access` struct to have a field of type wrapping.Wrapper, rather than
extending it.

* Add method Seal.GetShamirWrapper().

Add method Seal.GetShamirWrapper() for use by code that need to perform
Shamir-specific operations.
2023-05-04 14:22:30 -04:00
..
envelope.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
envelope_test.go adding copyright header (#19555) 2023-03-15 09:00:52 -07:00
seal.go Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00
seal_testing.go Convert seal.Access struct into a interface (OSS) (#20510) 2023-05-04 14:22:30 -04:00