signature

package
v0.0.0-...-05508b9 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidInputParamsError        = errors.New("Invalid input params")
	NotExactTheSameCurveInputError = errors.New("The private keys of all the keys are not using the the same curve")
	TooSmallNumOfkeysError         = errors.New("The total num of keys should be greater than one")
	EmptyMessageError              = errors.New("Message to be sign should not be nil")
	InValidSignatureError          = errors.New("XuperSignature is invalid")
)

Functions

func XuperSigVerify

func XuperSigVerify(keys []*ecdsa.PublicKey, signature, message []byte) (bool, error)

代码这么写的目的是为了支持NIST/国密的混合使用

Types

This section is empty.

Jump to

Keyboard shortcuts

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