kms

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2018 License: MIT Imports: 4 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KMS

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

func New

func New(sess *session.Session) *KMS

func (*KMS) Decrypt

func (k *KMS) Decrypt(c []byte) ([]byte, error)

func (*KMS) Encrypt

func (k *KMS) Encrypt(p []byte) ([]byte, error)

func (*KMS) EncryptionType

func (k *KMS) EncryptionType() string

func (*KMS) SetKey

func (k *KMS) SetKey(key string) *KMS

Jump to

Keyboard shortcuts

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