signer

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 5

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
}

KMSSigner to crypto sign a message. Note: do not create an instance of KMSSigner directly. Use NewKMSSigner() instead.

func NewKMSSigner

func NewKMSSigner(multiSigner api.FixedKeySigner,
	signatureType vcsverifiable.SignatureType, metrics metricsProvider) *KMSSigner

func NewKMSSignerBBS added in v1.5.0

func NewKMSSignerBBS(multiSigner api.FixedKeyMultiSigner,
	signatureType vcsverifiable.SignatureType, metrics metricsProvider) *KMSSigner

func (*KMSSigner) Alg

func (s *KMSSigner) Alg() string

func (*KMSSigner) Sign

func (s *KMSSigner) Sign(data []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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