kmssigner

package
v0.0.0-...-c7b523e Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KmsSigner

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

func NewKmsSigner

func NewKmsSigner(cfg aws.Config, ctx context.Context, keyname string) (*KmsSigner, error)

func (*KmsSigner) Public

func (ks *KmsSigner) Public() crypto.PublicKey

func (*KmsSigner) Sign

func (ks *KmsSigner) Sign(reader io.Reader, message []byte, opts crypto.SignerOpts) ([]byte, error)

Jump to

Keyboard shortcuts

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