kms

package
v0.0.0-...-66e05eb Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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