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: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PKCSConfig

type PKCSConfig struct {
	Library string
	Slot    int
	Label   string
	Id      []byte
	PIN     string
}

type PKCSSigner

type PKCSSigner struct {
	PKCSConfig   PKCSConfig
	AccessKeyID  string
	SessionToken string
	// contains filtered or unexported fields
}

func NewPKCSSigner

func NewPKCSSigner(cfg *PKCSSignerConfig) (*PKCSSigner, error)

func (*PKCSSigner) MAC

func (ts *PKCSSigner) MAC(msg []byte) ([]byte, error)

type PKCSSignerConfig

type PKCSSignerConfig struct {
	PKCSConfig   PKCSConfig
	AccessKeyID  string
	SessionToken string
}

Jump to

Keyboard shortcuts

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