awskms

package
v0.0.0-...-34af52f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsKms

type AwsKms struct {
}

AwsKms implements xyz interfaces to use the _AWS Key Management System_ as backing sign and crypto.

func (*AwsKms) Sign

func (km *AwsKms) Sign(
	c ifctx.ServiceContext,
	msg []byte,
	key ifcrypto.Key,
	signAlgorithm ifcrypto.SignAlgorithm,
	tags ...coremodel.Meta,
) error

Sign implements the `ifkms.Signer` interface

type KmsKey

type KmsKey struct {
	// Derive from `gocrypto.KeyBase`
	gocrypto.KeyBase
}

KmsKey implements the `ifcrypto.Key` interface.

The `GetID` represents the _KMS ARN_, alias or id of this key.

Jump to

Keyboard shortcuts

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