server

package
v1.20.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 10 Imported by: 1

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