kms

package
v0.0.0-...-5f83385 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KMSClient

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

func New

func New() (*KMSClient, error)

func (*KMSClient) Decrypt

func (client *KMSClient) Decrypt(key string, ciphertext []byte) ([]byte, error)

func (*KMSClient) Encrypt

func (client *KMSClient) Encrypt(key string, plaintext []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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