signer

package module
v0.0.0-...-b05f40b Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TinkConfig

type TinkConfig struct {
	KmsBackend tink.AEAD
	JSONBytes  []byte
	// contains filtered or unexported fields
}

type TinkSigner

type TinkSigner struct {
	TinkConfig   TinkConfig
	AccessKeyID  string
	SessionToken string
	// contains filtered or unexported fields
}

func NewTinkSigner

func NewTinkSigner(cfg *TinkSignerConfig) (*TinkSigner, error)

func (*TinkSigner) MAC

func (s *TinkSigner) MAC(msg []byte) ([]byte, error)

type TinkSignerConfig

type TinkSignerConfig struct {
	TinkConfig   TinkConfig
	AccessKeyID  string
	SessionToken string
}

Jump to

Keyboard shortcuts

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