Versions in this module Expand all Collapse all v2 v2.3.3 Jun 18, 2023 Changes in this version + const BaseEncryptor + var ErrKeyNotFound = errors.New("given key ID not found") + type PooledWrapper struct + func NewPooledWrapper(ctx context.Context, base wrapping.Wrapper) (*PooledWrapper, error) + func (m *PooledWrapper) AddWrapper(ctx context.Context, w wrapping.Wrapper) (bool, error) + func (m *PooledWrapper) AllKeyIds() []string + func (m *PooledWrapper) Decrypt(ctx context.Context, ct *wrapping.BlobInfo, opt ...wrapping.Option) ([]byte, error) + func (m *PooledWrapper) Encrypt(ctx context.Context, pt []byte, opt ...wrapping.Option) (*wrapping.BlobInfo, error) + func (m *PooledWrapper) Finalize(context.Context, ...wrapping.Option) error + func (m *PooledWrapper) HmacKeyId(ctx context.Context) (string, error) + func (m *PooledWrapper) Init(context.Context, ...wrapping.Option) error + func (m *PooledWrapper) KeyBytes(ctx context.Context) ([]byte, error) + func (m *PooledWrapper) KeyId(ctx context.Context) (string, error) + func (m *PooledWrapper) RemoveWrapper(ctx context.Context, keyId string) (bool, error) + func (m *PooledWrapper) SetConfig(_ context.Context, _ ...wrapping.Option) (*wrapping.WrapperConfig, error) + func (m *PooledWrapper) SetEncryptingWrapper(ctx context.Context, w wrapping.Wrapper) (bool, error) + func (m *PooledWrapper) Type(_ context.Context) (wrapping.WrapperType, error) + func (m *PooledWrapper) WrapperForKeyId(keyID string) wrapping.Wrapper