Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v1.37.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2026 License: Apache-2.0 Imports: 11 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 BarbicanService added in v1.25.0

type BarbicanService interface {
	GetSecret(ctx context.Context, keyID string) ([]byte, error)
}

type KMSserver

type KMSserver struct {
	pb.UnimplementedKeyManagementServiceServer
	// 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