kms

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SignAsymmetric

func SignAsymmetric(w io.Writer, name string, message io.Reader) error

sign the message using the KMS key identified by name output signature binary contents into writer os.File or bytes.Buffer is recommended for writer. Any io.Writer will do

func SignAsymmetricDigest added in v0.0.2

func SignAsymmetricDigest(ctx context.Context, w io.Writer, name string, digest hash.Hash) error

sign a digest instead of the message. Useful when you need to hash the digest before signing

Types

This section is empty.

Jump to

Keyboard shortcuts

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