Documentation ¶
Index ¶
- func Run(configFilePath string, socketpath string, sigchan <-chan os.Signal) (err error)
- type KMSserver
- func (s *KMSserver) Decrypt(ctx context.Context, req *pb.DecryptRequest) (*pb.DecryptResponse, error)
- func (s *KMSserver) Encrypt(ctx context.Context, req *pb.EncryptRequest) (*pb.EncryptResponse, error)
- func (s *KMSserver) Version(ctx context.Context, req *pb.VersionRequest) (*pb.VersionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.