kmssigner

package
v0.0.0-...-2229ef2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(kmsapi kmsiface.KMSAPI, keyArn string) (crypto.Signer, error)

New will create a new KMS Signer.

The returned crypto.Signer will, when asked to sign, invoke the KMS to Sign the requested digest without holding the private key in memory at any time.

When New is invoked, New will fetch the PublicKey from the KMS, and create a crypto.Signer that's able to preform the signing operations using the corresponding KMS private key.

The returned crypto.Signer is an internal type, and contains no methods or exported fields beyond those required from the crypto.Signer interface.

Types

This section is empty.

Jump to

Keyboard shortcuts

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