Lines Matching defs:Wrapper
34 type Wrapper struct { struct
35 tenantID string
36 clientID string
37 clientSecret string
38 vaultName string
39 keyName string
41 currentKeyID *atomic.Value
43 environment azure.Environment
44 client *keyvault.BaseClient
69 func (v *Wrapper) SetConfig(config map[string]string) (map[string]string, error) {
160 func (v *Wrapper) Init(context.Context) error {
165 func (v *Wrapper) Finalize(context.Context) error {
170 func (v *Wrapper) Type() string {
175 func (v *Wrapper) KeyID() string {
180 func (v *Wrapper) HMACKeyID() string {
187 …Encrypt(ctx context.Context, plaintext, aad []byte) (blob *wrapping.EncryptedBlobInfo, err error) {
225 …) Decrypt(ctx context.Context, in *wrapping.EncryptedBlobInfo, aad []byte) (pt []byte, err error) {
256 func (v *Wrapper) buildBaseURL() string {
260 func (v *Wrapper) getKeyVaultClient() (*keyvault.BaseClient, error) {