gcpkms

package
v0.0.0-...-24939ff Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(projectID, locationID string, opt ...Option) kms.Service

Types

type GCPKMS

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

func (GCPKMS) Decrypt

func (c GCPKMS) Decrypt(ciphertext []byte) ([]byte, error)

func (GCPKMS) Encrypt

func (c GCPKMS) Encrypt(plaintext []byte) ([]byte, error)

func (GCPKMS) State

func (c GCPKMS) State() connectivity.State

type Option

type Option func(*GCPKMS)

func Debug

func Debug(v bool) Option

Jump to

Keyboard shortcuts

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