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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CredJSON string

Functions

This section is empty.

Types

type CloudKMSClient

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

func New

func New() (*CloudKMSClient, error)

func (*CloudKMSClient) Decrypt

func (client *CloudKMSClient) Decrypt(keyResourceID string, ciphertext []byte) ([]byte, error)

func (*CloudKMSClient) Encrypt

func (client *CloudKMSClient) Encrypt(keyResourceID string, plaintext []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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