signature

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const SignerHash = crypto.SHA256

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