server

package
v0.0.0-...-20b7744 Latest Latest
Warning

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

Go to latest
Published: May 4, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(configFilePath string, socketpath string, sigchan <-chan os.Signal) (err error)

Run Grpc server for barbican KMS

Types

type KMSserver

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

KMSserver struct

func (*KMSserver) Decrypt

func (s *KMSserver) Decrypt(ctx context.Context, req *pb.DecryptRequest) (*pb.DecryptResponse, error)

Decrypt decrypts the cipher

func (*KMSserver) Encrypt

func (s *KMSserver) Encrypt(ctx context.Context, req *pb.EncryptRequest) (*pb.EncryptResponse, error)

Encrypt encrypts DEK

func (*KMSserver) Version

func (s *KMSserver) Version(ctx context.Context, req *pb.VersionRequest) (*pb.VersionResponse, error)

Version returns KMS service version

Jump to

Keyboard shortcuts

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