cloudkms

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

CloseKMS closes the client connection when shutting down the server

func DecryptSymmetric

func DecryptSymmetric(name string, b64CipherText []byte) ([]byte, error)

DecryptSymmetric will decrypt the input ciphertext bytes using the specified symmetric key.

func EncryptSymmetric

func EncryptSymmetric(name string, plaintext []byte) (string, error)

EncryptSymmetric will encrypt the input plaintext with the specified symmetric key.

func Init

func Init() (err error)

InitKms initializes a connection to KMS

Types

This section is empty.

Jump to

Keyboard shortcuts

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