kms

package
v2.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2020 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(id string, params types.StringMap) (crypto.Provider, error)

New returns a new crypto.Provider for KMS

Types

type Keystore

type Keystore struct {
	// contains filtered or unexported fields
}

Keystore is a kms keystore

func (*Keystore) Decrypt

func (k *Keystore) Decrypt(data []byte, params ...types.StringMap) ([]byte, error)

Decrypt implements the cloud.Encryption provider interface using KMS

func (*Keystore) Encrypt

func (k *Keystore) Encrypt(data []byte, params ...types.StringMap) ([]byte, error)

Encrypt implements the cloud.Encryption provider interface using KMS

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL