signature

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const SignerHash = crypto.SHA3_512

Variables

This section is empty.

Functions

func Sign

func Sign(signer pkg.KeyOrCardInterface, data *[]byte) (rsa.PublicKey, []byte, error)

Sign signs the data with the given key or card.

func VerifySigned

func VerifySigned(validator pkg.KeyOrCardInterface, data, signature []byte) error

VerifySigned verifies the signature of the data with the given key or card.

Types

This section is empty.

Jump to

Keyboard shortcuts

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