Lines Matching defs:Wrapper
35 type Wrapper struct { struct
36 accessKey string
37 secretKey string
38 sessionToken string
39 region string
40 keyID string
41 endpoint string
43 currentKeyID *atomic.Value
45 client kmsiface.KMSAPI
71 func (k *Wrapper) SetConfig(config map[string]string) (map[string]string, error) {
141 func (k *Wrapper) Init(_ context.Context) error {
147 func (k *Wrapper) Finalize(_ context.Context) error {
152 func (k *Wrapper) Type() string {
157 func (k *Wrapper) KeyID() string {
162 func (k *Wrapper) HMACKeyID() string {
169 …) Encrypt(_ context.Context, plaintext, aad []byte) (blob *wrapping.EncryptedBlobInfo, err error) {
213 …er) Decrypt(_ context.Context, in *wrapping.EncryptedBlobInfo, aad []byte) (pt []byte, err error) {
267 func (k *Wrapper) GetAWSKMSClient() (*kms.KMS, error) {