Lines Matching defs:Wrapper
15 type Wrapper struct { struct
16 logger hclog.Logger
17 client transitClientEncryptor
18 currentKeyID *atomic.Value
37 func (s *Wrapper) SetConfig(config map[string]string) (map[string]string, error) {
54 func (s *Wrapper) Init(_ context.Context) error {
59 func (s *Wrapper) Finalize(_ context.Context) error {
65 func (s *Wrapper) Type() string {
70 func (s *Wrapper) KeyID() string {
75 func (s *Wrapper) HMACKeyID() string {
80 …) Encrypt(_ context.Context, plaintext, aad []byte) (blob *wrapping.EncryptedBlobInfo, err error) {
103 …pper) Decrypt(_ context.Context, in *wrapping.EncryptedBlobInfo, _ []byte) (pt []byte, err error) {
112 func (s *Wrapper) GetClient() transitClientEncryptor {