server

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 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 BarbicanService added in v1.25.0

type BarbicanService interface {
	GetSecret(keyID string) ([]byte, error)
}

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) Status added in v1.28.0

func (s *KMSserver) Status(ctx context.Context, req *pb.StatusRequest) (*pb.StatusResponse, error)

Version returns KMS service version

Jump to

Keyboard shortcuts

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